Package org.loboevolution.html.js.xml
Class XMLContentHandler
java.lang.Object
org.loboevolution.html.js.xml.XMLContentHandler
- All Implemented Interfaces:
ContentHandler
,ErrorHandler
,LexicalHandler
public class XMLContentHandler
extends Object
implements ContentHandler, LexicalHandler, ErrorHandler
XMLContentHandler class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] chars, int start, int length) void
comment
(char[] chars, int start, int length) void
endCDATA()
void
void
endDTD()
void
endElement
(String uri, String localName, String qName) void
void
endPrefixMapping
(String prefix) void
error
(SAXParseException exception) void
fatalError
(SAXParseException exception) void
ignorableWhitespace
(char[] chars, int start, int length) void
processingInstruction
(String target, String data) void
skippedEntity
(String name) void
void
void
void
startElement
(String uri, String name, String qName, Attributes atts) void
startEntity
(String name) void
startPrefixMapping
(String prefix, String uri) void
warning
(SAXParseException exception) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration, setDocumentLocator
-
Constructor Details
-
XMLContentHandler
public XMLContentHandler()
-
-
Method Details
-
startDocument
public void startDocument()- Specified by:
startDocument
in interfaceContentHandler
-
endDocument
public void endDocument()- Specified by:
endDocument
in interfaceContentHandler
-
startPrefixMapping
- Specified by:
startPrefixMapping
in interfaceContentHandler
-
endPrefixMapping
- Specified by:
endPrefixMapping
in interfaceContentHandler
-
startElement
public void startElement(String uri, String name, String qName, Attributes atts) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Throws:
SAXException
-
characters
- Specified by:
characters
in interfaceContentHandler
- Throws:
SAXException
-
ignorableWhitespace
public void ignorableWhitespace(char[] chars, int start, int length) - Specified by:
ignorableWhitespace
in interfaceContentHandler
-
processingInstruction
- Specified by:
processingInstruction
in interfaceContentHandler
-
skippedEntity
- Specified by:
skippedEntity
in interfaceContentHandler
-
warning
- Specified by:
warning
in interfaceErrorHandler
-
error
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXParseException
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXParseException
-
startDTD
- Specified by:
startDTD
in interfaceLexicalHandler
-
endDTD
public void endDTD()- Specified by:
endDTD
in interfaceLexicalHandler
-
startEntity
- Specified by:
startEntity
in interfaceLexicalHandler
-
endEntity
- Specified by:
endEntity
in interfaceLexicalHandler
-
startCDATA
public void startCDATA()- Specified by:
startCDATA
in interfaceLexicalHandler
-
endCDATA
public void endCDATA()- Specified by:
endCDATA
in interfaceLexicalHandler
-
comment
- Specified by:
comment
in interfaceLexicalHandler
- Throws:
SAXException
-