Home » Xerces-J-src.2.9.1 » org.apache.xerces » xni » parser » [javadoc | source]
org.apache.xerces.xni.parser
public interface: XMLDocumentScanner [javadoc | source]

All Implemented Interfaces:
    XMLDocumentSource

All Known Implementing Classes:
    XMLNSDocumentScannerImpl, XML11NSDocumentScannerImpl, XML11DocumentScannerImpl, XMLDocumentScannerImpl, XMLDocumentFragmentScannerImpl

This interface defines a generic document scanner. This interface allows a scanner to be used interchangably in existing parser configurations.

If the parser configuration uses a document scanner that implements this interface, components should be able to query the scanner instance from the component manager using the following property identifier:

"http://apache.org/xml/properties/internal/document-scanner"
Method from org.apache.xerces.xni.parser.XMLDocumentScanner Summary:
scanDocument,   setInputSource
Method from org.apache.xerces.xni.parser.XMLDocumentScanner Detail:
 public boolean scanDocument(boolean complete) throws IOException, XNIException
    Scans a document.
 public  void setInputSource(XMLInputSource inputSource) throws IOException
    Sets the input source.