public class ForkContentHandler extends Object implements ContentHandler
| Constructor and Description |
|---|
ForkContentHandler(ContentHandler ch1,
ContentHandler ch2) |
| Modifier and Type | Method and 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) |
public ForkContentHandler(ContentHandler ch1, ContentHandler ch2)
public void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlerpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerSAXExceptionpublic void startPrefixMapping(String s, String s1) throws SAXException
startPrefixMapping in interface ContentHandlerSAXExceptionpublic void endPrefixMapping(String s) throws SAXException
endPrefixMapping in interface ContentHandlerSAXExceptionpublic void startElement(String s, String s1, String s2, Attributes attributes) throws SAXException
startElement in interface ContentHandlerSAXExceptionpublic void endElement(String s, String s1, String s2) throws SAXException
endElement in interface ContentHandlerSAXExceptionpublic void characters(char[] chars,
int i,
int i1)
throws SAXException
characters in interface ContentHandlerSAXExceptionpublic void ignorableWhitespace(char[] chars,
int i,
int i1)
throws SAXException
ignorableWhitespace in interface ContentHandlerSAXExceptionpublic void processingInstruction(String s, String s1) throws SAXException
processingInstruction in interface ContentHandlerSAXExceptionpublic void skippedEntity(String s) throws SAXException
skippedEntity in interface ContentHandlerSAXException