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

All Implemented Interfaces:
    XMLDTDContentModelSource, XMLDTDSource

All Known Implementing Classes:
    XMLDTDScannerImpl, XML11DTDScannerImpl

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

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

Method from org.apache.xerces.xni.parser.XMLDTDScanner Summary:
scanDTDExternalSubset,   scanDTDInternalSubset,   setInputSource
Method from org.apache.xerces.xni.parser.XMLDTDScanner Detail:
 public boolean scanDTDExternalSubset(boolean complete) throws IOException, XNIException
    Scans the external subset of the document.
 public boolean scanDTDInternalSubset(boolean complete,
    boolean standalone,
    boolean hasExternalSubset) throws IOException, XNIException
    Scans the internal subset of the document.
 public  void setInputSource(XMLInputSource inputSource) throws IOException
    Sets the input source.