|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface implemented by objects which listen to the events of an XML document stream. Front end for functionality of SAX parser HandlerBase interface.
Method Summary | |
void |
characters(char[] buffer,
int start,
int length)
this method is called when the parser encounters plain text outside of a bracketed tag. |
void |
endDocument()
called when parser reaches the end of the document |
void |
endElement(String name)
this method is called whenever the parser encounters the end of an element |
void |
error(String message,
String source,
int line,
int column)
this method is called by the parser if it encounters a recoverable error. |
void |
fatalError(String message,
String source,
int line,
int column)
this method is called by the parser if it encounters a non-recoverable error. |
void |
startDocument()
this method is called by the parser at the start of a document |
void |
startElement(String name,
Map attributes)
this method is called when the parser encounters a starting element tag. |
void |
warning(String message,
String source,
int line,
int column)
this method is called by the parser if it encounters a warning situation. |
Method Detail |
public void startDocument()
public void characters(char[] buffer, int start, int length)
buffer
- buffer containing plain text charactersstart
- start index of plain text characters in bufferlength
- number of characters in plain textpublic void startElement(String name, Map attributes)
attributes
- a map of attribute names and values found in this elementpublic void endElement(String name)
name
- the tag of the element that is endingpublic void endDocument()
public void error(String message, String source, int line, int column)
message
- error message generated by parsersource
- source of XML document - generally a file nameline
- line number of document on which error occurred.column
- column number at which error occurred.public void fatalError(String message, String source, int line, int column)
message
- error message generated by parsersource
- source of XML document - generally a file nameline
- line number of document on which error occurred.column
- column number at which error occurred.public void warning(String message, String source, int line, int column)
message
- error message generated by parsersource
- source of XML document - generally a file nameline
- line number of document on which error occurred.column
- column number at which error occurred.
|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |