Usually, one would use the DefaultHandler class - if only it wouldn't be buggy in some GCJ versions.
|
Public Member Functions |
| XMLReader | getXMLReader () throws DirectorException |
| | Try to find an appropriate XMLReader.
|
| void | startDocument () throws SAXException |
| void | endDocument () throws SAXException |
| void | startElement (String uri, String name, String qName, Attributes atts) throws SAXException |
| void | endElement (String uri, String name, String qName) throws SAXException |
| boolean | isHeading (String name) |
| | check if an element with the given name is actually a HTML heading.
|
| void | characters (char ch[], int start, int length) |
| void | endPrefixMapping (java.lang.String prefix) |
| void | ignorableWhitespace (char[] ch, int start, int length) |
| void | processingInstruction (java.lang.String target, java.lang.String data) |
| void | setDocumentLocator (Locator locator) |
| void | skippedEntity (java.lang.String name) |
| void | startPrefixMapping (java.lang.String prefix, java.lang.String uri) |
| void | fatalError (SAXParseException exception) |
| void | warning (SAXParseException exception) |
| void | error (SAXParseException exception) |
Static Public Attributes |
| final static String | XMLHeader = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE spec [ <!ENTITY nbsp \" \"> <!ENTITY deg \"°\"> <!ENTITY copy \"©\"> ] ><document>\n" |
| | The XML header to be used with an arbitrary, headerless xhtml fragment.
|
| final static String | XMLFooter = "</document>" |
| | The XML footer to be used with an arbitrary, headerless xhtml fragment.
|