|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocHandler
Interface for callbacks for the XML parser.
Method Summary | |
---|---|
void |
endDocument()
Called to indicate the end of the XML document being read |
void |
endElement(java.lang.String nameSpace,
java.lang.String tag)
Called to indicate the end of a tagged element |
void |
startDocument()
Called to indicate the start of the XML document being read |
void |
startElement(java.lang.String nameSpace,
java.lang.String tag,
java.util.Map<java.lang.String,java.lang.String> attributes,
int line,
int col)
Called to indicate the start of a tagged element |
void |
text(java.lang.String str,
boolean cdata,
int line,
int col)
Called to indicate that an untagged element has been read |
void |
text(java.lang.String str,
int line,
int col)
Called to indicate that an untagged element has been read |
Method Detail |
---|
void startElement(java.lang.String nameSpace, java.lang.String tag, java.util.Map<java.lang.String,java.lang.String> attributes, int line, int col) throws XMLParseException
nameSpace
- the namespace part of the tagtag
- the name part of the tagattributes
- the table of attributes for this elementline
- the line number where this element was startedcol
- the column number where this element was started
XMLParseException
- if a semantic error is observedvoid endElement(java.lang.String nameSpace, java.lang.String tag) throws XMLParseException
nameSpace
- the namespace part of the tagtag
- the name part of the tag
XMLParseException
- if a semantic error is observedvoid startDocument() throws XMLParseException
XMLParseException
- if a semantic error is observedvoid endDocument() throws XMLParseException
XMLParseException
- if a semantic error is observedvoid text(java.lang.String str, int line, int col) throws XMLParseException
str
- the value of the untagged elementline
- the line number where this element was startedcol
- the column number where this element was started
XMLParseException
- if a semantic error is observedvoid text(java.lang.String str, boolean cdata, int line, int col) throws XMLParseException
str
- the value of the untagged elementcdata
- true if the element was a CDATA elementline
- the line number where this element was startedcol
- the column number where this element was started
XMLParseException
- if a semantic error is observed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |