Package com.thaiopensource.xml.sax
Class ForkContentHandler
- java.lang.Object
-
- com.thaiopensource.xml.sax.ForkContentHandler
-
- All Implemented Interfaces:
ContentHandler
public class ForkContentHandler extends Object implements ContentHandler
-
-
Constructor Summary
Constructors Constructor Description ForkContentHandler(ContentHandler ch1, ContentHandler ch2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] chars, int i, int i1)
void
endDocument()
void
endElement(String s, String s1, String s2)
void
endPrefixMapping(String s)
void
ignorableWhitespace(char[] chars, int i, int i1)
void
processingInstruction(String s, String s1)
void
setDocumentLocator(Locator locator)
void
skippedEntity(String s)
void
startDocument()
void
startElement(String s, String s1, String s2, Attributes attributes)
void
startPrefixMapping(String s, String s1)
-
-
-
Constructor Detail
-
ForkContentHandler
public ForkContentHandler(ContentHandler ch1, ContentHandler ch2)
-
-
Method Detail
-
setDocumentLocator
public void setDocumentLocator(Locator locator)
- Specified by:
setDocumentLocator
in interfaceContentHandler
-
startDocument
public void startDocument() throws SAXException
- Specified by:
startDocument
in interfaceContentHandler
- Throws:
SAXException
-
endDocument
public void endDocument() throws SAXException
- Specified by:
endDocument
in interfaceContentHandler
- Throws:
SAXException
-
startPrefixMapping
public void startPrefixMapping(String s, String s1) throws SAXException
- Specified by:
startPrefixMapping
in interfaceContentHandler
- Throws:
SAXException
-
endPrefixMapping
public void endPrefixMapping(String s) throws SAXException
- Specified by:
endPrefixMapping
in interfaceContentHandler
- Throws:
SAXException
-
startElement
public void startElement(String s, String s1, String s2, Attributes attributes) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Throws:
SAXException
-
endElement
public void endElement(String s, String s1, String s2) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Throws:
SAXException
-
characters
public void characters(char[] chars, int i, int i1) throws SAXException
- Specified by:
characters
in interfaceContentHandler
- Throws:
SAXException
-
ignorableWhitespace
public void ignorableWhitespace(char[] chars, int i, int i1) throws SAXException
- Specified by:
ignorableWhitespace
in interfaceContentHandler
- Throws:
SAXException
-
processingInstruction
public void processingInstruction(String s, String s1) throws SAXException
- Specified by:
processingInstruction
in interfaceContentHandler
- Throws:
SAXException
-
skippedEntity
public void skippedEntity(String s) throws SAXException
- Specified by:
skippedEntity
in interfaceContentHandler
- Throws:
SAXException
-
-