|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface must be implemented by the users of the XMLDocumentScanner class. These methods form the abstraction between the implementation semantics and the more generic task of scanning the XML non-DTD grammar.
Method Summary | |
---|---|
boolean |
attribute(QName element,
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(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(QName element)
Signal the scanning of an element name in a start element tag. |
Method Detail |
public void callStandaloneIsYes() throws java.lang.Exception
java.lang.Exception
- public void callStartDocument() throws java.lang.Exception
java.lang.Exception
- public void callEndDocument() throws java.lang.Exception
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 valuejava.lang.Exception
- public 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 encodingjava.lang.Exception
- public void callStartElement(QName element) throws java.lang.Exception
element
- Element name scanned.java.lang.Exception
- public void element(QName element) throws java.lang.Exception
element
- Element name scanned.public boolean attribute(QName element, 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.java.lang.Exception
- public void callStartCDATA() throws java.lang.Exception
java.lang.Exception
- public void callEndCDATA() throws java.lang.Exception
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 scannedjava.lang.Exception
- public 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 datajava.lang.Exception
- public void callComment(int data) throws java.lang.Exception
data
- the handle in the string pool of the comment textjava.lang.Exception
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |