org.apache.xerces.xni.parser

Interface XMLDocumentSource

public interface XMLDocumentSource

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.

Version: $Id: XMLDocumentSource.java,v 1.5 2004/02/24 23:15:56 mrglavas Exp $

Author: Andy Clark, IBM

Method Summary
XMLDocumentHandlergetDocumentHandler()
Returns the document handler
voidsetDocumentHandler(XMLDocumentHandler handler)
Sets the document handler.

Method Detail

getDocumentHandler

public XMLDocumentHandler getDocumentHandler()
Returns the document handler

setDocumentHandler

public void setDocumentHandler(XMLDocumentHandler handler)
Sets the document handler.
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.