XML for Java 2.0.0

com.ibm.xml.framework
Interface XMLDocumentHandler

All Known Implementing Classes:
XMLParser

public abstract interface XMLDocumentHandler

Version:
Revision: 45 1.7 src/com/ibm/xml/framework/XMLDocumentHandler.java, parser, xml4j2, xml4j2_0_0

Method Summary
 void characters(char[] ch, int start, int length, boolean cdataSection)
           
 void characters(int dataIndex, boolean cdataSection)
           
 void comment(int dataIndex)
           
 void endDocument()
           
 void endElement(int elementNameIndex)
           
 void endEntityReference(int entityIndex)
           
 void ignorableWhitespace(char[] ch, int start, int length, boolean cdataSection)
           
 void ignorableWhitespace(int dataIndex, boolean cdataSection)
           
 void processingInstruction(int targetIndex, int dataIndex)
           
 boolean sendCharDataAsCharArray()
          This method is used to determine which style of interface to use for this handler when passing character data and ignorable whitespace.
 void startDocument(int versionIndex, int encodingIndex, int standAloneIndex)
          If the there is no version info, encoding info, or standalone info, the corresponding index will be set to -1.
 void startElement(int elementNameIndex, int attrListIndex)
           
 void startEntityReference(int entityIndex)
           
 

Method Detail

sendCharDataAsCharArray

public boolean sendCharDataAsCharArray()
This method is used to determine which style of interface to use for this handler when passing character data and ignorable whitespace.
See Also:
characters(int, boolean), ignorableWhitespace(int, boolean)

startDocument

public void startDocument(int versionIndex,
                          int encodingIndex,
                          int standAloneIndex)
                   throws java.lang.Exception
If the there is no version info, encoding info, or standalone info, the corresponding index will be set to -1.

endDocument

public void endDocument()
                 throws java.lang.Exception

startElement

public void startElement(int elementNameIndex,
                         int attrListIndex)
                  throws java.lang.Exception

endElement

public void endElement(int elementNameIndex)
                throws java.lang.Exception

startEntityReference

public void startEntityReference(int entityIndex)
                          throws java.lang.Exception

endEntityReference

public void endEntityReference(int entityIndex)
                        throws java.lang.Exception

characters

public void characters(int dataIndex,
                       boolean cdataSection)
                throws java.lang.Exception

ignorableWhitespace

public void ignorableWhitespace(int dataIndex,
                                boolean cdataSection)
                         throws java.lang.Exception

processingInstruction

public void processingInstruction(int targetIndex,
                                  int dataIndex)
                           throws java.lang.Exception

comment

public void comment(int dataIndex)
             throws java.lang.Exception

characters

public void characters(char[] ch,
                       int start,
                       int length,
                       boolean cdataSection)
                throws java.lang.Exception

ignorableWhitespace

public void ignorableWhitespace(char[] ch,
                                int start,
                                int length,
                                boolean cdataSection)
                         throws java.lang.Exception

XML for Java 2.0.0