com.xml_project.morganaxquery.configuration
Interface TextURIResolver


public interface TextURIResolver


Method Summary
 java.lang.String resolveText(java.net.URI uri, java.lang.String encoding)
          Reads a text resource for fn:unparsed-text etc.
 

Method Detail

resolveText

java.lang.String resolveText(java.net.URI uri,
                             java.lang.String encoding)
                             throws XPathException
Reads a text resource for fn:unparsed-text etc.

Parameters:
uri - must be absolute.
encoding - may be null
Returns:
the reader
Throws:
XPathException - must throw FOUT1170 if resource is not available FOUT1190 if char encoding is not supported. FOUT1200 if no encoding is supplied and text encoding is not UTF-8