| java.lang.Object com.sun.tools.xjc.util.ForkContentHandler
ForkContentHandler | public class ForkContentHandler implements ContentHandler(Code) | | ContentHandler that "forks" the incoming SAX2 events to
two ContentHandlers.
version: $Id: ForkContentHandler.java,v 1.2.12.1 2007/05/31 22:02:01 ofung Exp $ author: Kohsuke KAWAGUCHI |
Method Summary | |
public void | characters(char ch, int start, int length) | public static ContentHandler | create(ContentHandler[] handlers) Creates ForkContentHandlers so that the specified handlers
will receive SAX events in the order of the array. | public void | endDocument() | public void | endElement(String uri, String localName, String qName) | public void | endPrefixMapping(String prefix) | public void | ignorableWhitespace(char ch, int start, int length) | public void | processingInstruction(String target, String data) | public void | setDocumentLocator(Locator locator) | public void | skippedEntity(String name) | public void | startDocument() | public void | startElement(String uri, String localName, String qName, Attributes attributes) | public void | startPrefixMapping(String prefix, String uri) |
ForkContentHandler | public ForkContentHandler(ContentHandler first, ContentHandler second)(Code) | | Creates a ForkContentHandler.
Parameters: first - This handler will receive a SAX event first. Parameters: second - This handler will receive a SAX event after the first handlerreceives it. |
characters | public void characters(char ch, int start, int length) throws SAXException(Code) | | |
create | public static ContentHandler create(ContentHandler[] handlers)(Code) | | Creates ForkContentHandlers so that the specified handlers
will receive SAX events in the order of the array.
|
ignorableWhitespace | public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code) | | |
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | |
|
|