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

All Known Implementing Classes:
    XMLNamespaceBinder, XMLDTDValidatorFilter, XMLDTDValidator, XMLNSDocumentScannerImpl, XIncludeHandler, XML11NamespaceBinder, XMLNSDTDValidator, RevalidationHandler, XML11DTDValidator, XML11NSDocumentScannerImpl, XMLDocumentFilter, XML11DocumentScannerImpl, XML11NSDTDValidator, XPointerHandler, PSVIWriter, JAXPValidatorComponent, XMLDocumentScanner, XMLDocumentScannerImpl, XMLSchemaValidator, XMLDocumentFragmentScannerImpl, TeeXMLDocumentFilterImpl

Defines a document source. In other words, any object that implements this interface is able to emit document "events" to the registered document handler. These events could be produced by parsing an XML document, could be generated from some other source, or could be created programmatically. This interface does not say how the events are created, only that the implementor is able to emit them.
Method from org.apache.xerces.xni.parser.XMLDocumentSource Summary:
getDocumentHandler,   setDocumentHandler
Method from org.apache.xerces.xni.parser.XMLDocumentSource Detail:
 public XMLDocumentHandler getDocumentHandler()
    Returns the document handler
 public  void setDocumentHandler(XMLDocumentHandler handler)
    Sets the document handler.