|
Xerces 3.1.1 API: Interface XMLDocumentScanner.EventHandler
org.apache.xerces.framework
|
Method Summary | |
boolean |
attribute(org.apache.xerces.utils.QName element,
org.apache.xerces.utils.QName attrName,
int attrValue)
Signal the scanning of an attribute associated to the previous start element tag. |
void |
callCharacters(int ch)
Report the scanning of character data |
void |
callComment(int data)
Report the scanning of a comment |
void |
callEndCDATA()
Signal the end of a CDATA section |
void |
callEndDocument()
Signal the end of a document |
void |
callEndElement(int readerId)
signal the scanning of an end element tag |
void |
callProcessingInstruction(int piTarget,
int piData)
Report the scanning of a processing instruction |
void |
callStandaloneIsYes()
Signal standalone = "yes" |
void |
callStartCDATA()
Signal the start of a CDATA section |
void |
callStartDocument()
Signal the start of a document |
void |
callStartElement(org.apache.xerces.utils.QName element)
signal the scanning of a start element tag |
void |
callTextDecl(int version,
int encoding)
Signal the Text declaration of an external entity. |
void |
callXMLDecl(int version,
int encoding,
int standalone)
Signal the XML declaration of a document |
void |
element(org.apache.xerces.utils.QName element)
Signal the scanning of an element name in a start element tag. |
Method Detail |
public void callStandaloneIsYes() throws java.lang.Exception
public void callStartDocument() throws java.lang.Exception
public void callEndDocument() throws java.lang.Exception
public void callXMLDecl(int version, int encoding, int standalone) throws java.lang.Exception
version
- the handle in the string pool for the version numberencoding
- the handle in the string pool for the encodingstandalong
- the handle in the string pool for the standalone valuepublic void callTextDecl(int version, int encoding) throws java.lang.Exception
version
- the handle in the string pool for the version numberencoding
- the handle in the string pool for the encodingpublic void callStartElement(org.apache.xerces.utils.QName element) throws java.lang.Exception
element
- Element name scanned.public void element(org.apache.xerces.utils.QName element) throws java.lang.Exception
element
- Element name scanned.public boolean attribute(org.apache.xerces.utils.QName element, org.apache.xerces.utils.QName attrName, int attrValue) throws java.lang.Exception
element
- Element name scanned.attrName
- Attribute name scanned.attrValue
- The string pool index of the attribute value.public void callEndElement(int readerId) throws java.lang.Exception
readerId
- the Id of the reader being used to scan the end tag.public void callStartCDATA() throws java.lang.Exception
public void callEndCDATA() throws java.lang.Exception
public void callCharacters(int ch) throws java.lang.Exception
ch
- the handle in the string pool of the character data that was scannedpublic void callProcessingInstruction(int piTarget, int piData) throws java.lang.Exception
piTarget
- the handle in the string pool of the processing instruction targepiData
- the handle in the string pool of the processing instruction datapublic void callComment(int data) throws java.lang.Exception
data
- the handle in the string pool of the comment text
|
Xerces 3.1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |