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 ContentHandler
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void startPrefixMapping(String s, String s1) throws SAXException
startPrefixMapping
in interface ContentHandler
SAXException
public void endPrefixMapping(String s) throws SAXException
endPrefixMapping
in interface ContentHandler
SAXException
public void startElement(String s, String s1, String s2, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
SAXException
public void endElement(String s, String s1, String s2) throws SAXException
endElement
in interface ContentHandler
SAXException
public void characters(char[] chars, int i, int i1) throws SAXException
characters
in interface ContentHandler
SAXException
public void ignorableWhitespace(char[] chars, int i, int i1) throws SAXException
ignorableWhitespace
in interface ContentHandler
SAXException
public void processingInstruction(String s, String s1) throws SAXException
processingInstruction
in interface ContentHandler
SAXException
public void skippedEntity(String s) throws SAXException
skippedEntity
in interface ContentHandler
SAXException