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 voidcharacters(char[] chars, int i, int i1)voidendDocument()voidendElement(String s, String s1, String s2)voidendPrefixMapping(String s)voidignorableWhitespace(char[] chars, int i, int i1)voidprocessingInstruction(String s, String s1)voidsetDocumentLocator(Locator locator)voidskippedEntity(String s)voidstartDocument()voidstartElement(String s, String s1, String s2, Attributes attributes)voidstartPrefixMapping(String s, String s1)
-
-
-
Constructor Detail
-
ForkContentHandler
public ForkContentHandler(ContentHandler ch1, ContentHandler ch2)
-
-
Method Detail
-
setDocumentLocator
public void setDocumentLocator(Locator locator)
- Specified by:
setDocumentLocatorin interfaceContentHandler
-
startDocument
public void startDocument() throws SAXException- Specified by:
startDocumentin interfaceContentHandler- Throws:
SAXException
-
endDocument
public void endDocument() throws SAXException- Specified by:
endDocumentin interfaceContentHandler- Throws:
SAXException
-
startPrefixMapping
public void startPrefixMapping(String s, String s1) throws SAXException
- Specified by:
startPrefixMappingin interfaceContentHandler- Throws:
SAXException
-
endPrefixMapping
public void endPrefixMapping(String s) throws SAXException
- Specified by:
endPrefixMappingin interfaceContentHandler- Throws:
SAXException
-
startElement
public void startElement(String s, String s1, String s2, Attributes attributes) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Throws:
SAXException
-
endElement
public void endElement(String s, String s1, String s2) throws SAXException
- Specified by:
endElementin interfaceContentHandler- Throws:
SAXException
-
characters
public void characters(char[] chars, int i, int i1) throws SAXException- Specified by:
charactersin interfaceContentHandler- Throws:
SAXException
-
ignorableWhitespace
public void ignorableWhitespace(char[] chars, int i, int i1) throws SAXException- Specified by:
ignorableWhitespacein interfaceContentHandler- Throws:
SAXException
-
processingInstruction
public void processingInstruction(String s, String s1) throws SAXException
- Specified by:
processingInstructionin interfaceContentHandler- Throws:
SAXException
-
skippedEntity
public void skippedEntity(String s) throws SAXException
- Specified by:
skippedEntityin interfaceContentHandler- Throws:
SAXException
-
-