All Packages Class Hierarchy This Package Previous Next Index
Interface com.jclark.xml.parse.Application
- public interface Application
This interface is used by the parser to report information to the
application.
In all cases the event argument is valid only until the function
returns;
the parser may reuse the event object to report subsequent events.
- See Also:
- Parser
-
characterData(CharacterDataEvent)
- Reports character data.
-
endDocument()
- Reports the end of the document.
-
endElement(EndElementEvent)
- Reports the end of a element.
-
endProlog(EndPrologEvent)
- Reports the end of the prolog.
-
processingInstruction(ProcessingInstructionEvent)
- Reports a processing instruction.
-
startDocument()
- Reports the start of the document.
-
startElement(StartElementEvent)
- Reports the start of an element.
startDocument
public abstract void startDocument() throws IOException
- Reports the start of the document.
This is called once per well-formed document before any other methods.
endProlog
public abstract void endProlog(EndPrologEvent event) throws IOException
- Reports the end of the prolog.
Called before the start of the first element.
startElement
public abstract void startElement(StartElementEvent event) throws IOException
- Reports the start of an element.
This includes both start-tags and empty elements.
characterData
public abstract void characterData(CharacterDataEvent event) throws IOException
- Reports character data.
endElement
public abstract void endElement(EndElementEvent event) throws IOException
- Reports the end of a element.
This includes both end-tags and empty elements.
processingInstruction
public abstract void processingInstruction(ProcessingInstructionEvent event) throws IOException
- Reports a processing instruction.
Note that processing instructions can occur before or after the
document element.
endDocument
public abstract void endDocument() throws IOException
- Reports the end of the document.
Called once per well-formed document, after all other methods.
Not called if the document is not well-formed.
All Packages Class Hierarchy This Package Previous Next Index