| java.lang.Object com.quadcap.text.sax.Handler
Constructor Summary | |
public | Handler() |
characters | public void characters(char[] ch, int start, int length) throws SAXException(Code) | | SAX parser callback to handle character data found in the
parsed document.
Parameters: ch - the buffer containing the parsed characters. Parameters: star - the buffer position of the first character Parameters: length - the number of characters exception: SAXException - may be thrown if this data representsa database value and there's a SQL exception thrown whiletrying to update the underlying resultset object with thisdata. |
endDocument | public void endDocument()(Code) | | SAX parser callback function that is called when the end of the
document is reached. This implementation does nothing.
|
endElement | public void endElement(String name) throws SAXException(Code) | | SAX parser callback function called for the end of an element.
Parameters: name - the name of this element exception: SAXException - may be thrown |
error | public void error(SAXParseException exception)(Code) | | SAX parser callback to handle XML Parser errors.
This implementation just prints them
to System.err.
Parameters: exception - the exception generated by the parser. |
fatalError | public void fatalError(SAXParseException exception)(Code) | | SAX parser callback to handle XML Parser fatal errors.
This implementation just prints them
to System.err.
Parameters: exception - the exception generated by the parser. |
ignorableWhitespace | public void ignorableWhitespace(char[] ch, int start, int length)(Code) | | SAX parser callback for ignorable whitespace. We just ignore it
Parameters: ch - the buffer containing the parsed characters. Parameters: star - the buffer position of the first character Parameters: length - the number of characters |
parse | public void parse(Reader r, Object context) throws SAXException(Code) | | Parse the specified file the context of the
specified web application.
Parameters: dd - the inputstream containing the deployment descriptor Parameters: app - the web application being constructed |
processingInstruction | public void processingInstruction(String target, String data)(Code) | | SAX parser callback for processing instructions. This implementation
does nothing.
Parameters: target - the processing instruction target. Parameters: data - the processing instruction data. |
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | SAX parser callback used to receive a document locator.
Parameters: locator - the parser's locator object. |
startDocument | public void startDocument()(Code) | | SAX parser callback for document start.
This implementation does nothing.
|
startElement | public void startElement(String name, AttributeList attrs) throws SAXException(Code) | | SAX parser callback for the start of an element.
Parameters: name - the element name Parameters: attrs - the element's attributes exception: SAXException - may be thrown |
warning | public void warning(SAXParseException exception)(Code) | | SAX parser callback to handle XML Parser fatal errors.
This implementation just prints them
to System.err.
Parameters: exception - the exception generated by the parser. |
|
|