com.sun.tools.xjc.util
public class ForkContentHandler extends Object implements ContentHandler
Constructor Summary | |
---|---|
ForkContentHandler(ContentHandler first, ContentHandler second)
Creates a ForkContentHandler.
|
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length) |
static ContentHandler | create(ContentHandler[] handlers)
Creates ForkContentHandlers so that the specified handlers
will receive SAX events in the order of the array. |
void | endDocument() |
void | endElement(String uri, String localName, String qName) |
void | endPrefixMapping(String prefix) |
void | ignorableWhitespace(char[] ch, int start, int length) |
void | processingInstruction(String target, String data) |
void | setDocumentLocator(Locator locator) |
void | skippedEntity(String name) |
void | startDocument() |
void | startElement(String uri, String localName, String qName, Attributes attributes) |
void | startPrefixMapping(String prefix, String uri) |
Parameters: first This handler will receive a SAX event first. second This handler will receive a SAX event after the first handler receives it.