public class ForkContentHandler extends Object implements ContentHandler
| Constructor and Description |
|---|
ForkContentHandler(ContentHandler contenthandler,
ContentHandler contenthandler1) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ac,
int i,
int j) |
static ContentHandler |
create(ContentHandler[] acontenthandler) |
void |
endDocument() |
void |
endElement(String s,
String s1,
String s2) |
void |
endPrefixMapping(String s) |
void |
ignorableWhitespace(char[] ac,
int i,
int j) |
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 contenthandler, ContentHandler contenthandler1)
public static ContentHandler create(ContentHandler[] acontenthandler)
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[] ac,
int i,
int j)
throws SAXException
characters in interface ContentHandlerSAXExceptionpublic void ignorableWhitespace(char[] ac,
int i,
int j)
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 ContentHandlerSAXExceptionCopyright © 2017 Oracle Corporation. All rights reserved.