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

Method Index

 o characterData(CharacterDataEvent)
Reports character data.
 o endDocument()
Reports the end of the document.
 o endElement(EndElementEvent)
Reports the end of a element.
 o endProlog(EndPrologEvent)
Reports the end of the prolog.
 o processingInstruction(ProcessingInstructionEvent)
Reports a processing instruction.
 o startDocument()
Reports the start of the document.
 o startElement(StartElementEvent)
Reports the start of an element.

Methods

 o 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.

 o endProlog
 public abstract void endProlog(EndPrologEvent event) throws IOException
Reports the end of the prolog. Called before the start of the first element.

 o startElement
 public abstract void startElement(StartElementEvent event) throws IOException
Reports the start of an element. This includes both start-tags and empty elements.

 o characterData
 public abstract void characterData(CharacterDataEvent event) throws IOException
Reports character data.

 o endElement
 public abstract void endElement(EndElementEvent event) throws IOException
Reports the end of a element. This includes both end-tags and empty elements.

 o 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.

 o 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