TeeXMLDocumentFilterImplpublic class TeeXMLDocumentFilterImpl extends Object implements XMLDocumentFilterXMLDocumentHandler which forks the pipeline to two other components. |
Fields Summary |
---|
private XMLDocumentHandler | nextThe next component in the pipeline who receives the event.
This component receives events after the "side" handler
receives them. | private XMLDocumentHandler | sideThe component who intercepts events. | private XMLDocumentSource | sourceThe source of the event. |
Methods Summary |
---|
public void | characters(com.sun.org.apache.xerces.internal.xni.XMLString text, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.characters(text, augs);
next.characters(text, augs);
| public void | comment(com.sun.org.apache.xerces.internal.xni.XMLString text, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.comment(text, augs);
next.comment(text, augs);
| public void | doctypeDecl(java.lang.String rootElement, java.lang.String publicId, java.lang.String systemId, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.doctypeDecl(rootElement, publicId, systemId, augs);
next.doctypeDecl(rootElement, publicId, systemId, augs);
| public void | emptyElement(com.sun.org.apache.xerces.internal.xni.QName element, com.sun.org.apache.xerces.internal.xni.XMLAttributes attributes, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.emptyElement(element, attributes, augs);
next.emptyElement(element, attributes, augs);
| public void | endCDATA(com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.endCDATA(augs);
next.endCDATA(augs);
| public void | endDocument(com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.endDocument(augs);
next.endDocument(augs);
| public void | endElement(com.sun.org.apache.xerces.internal.xni.QName element, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.endElement(element, augs);
next.endElement(element, augs);
| public void | endGeneralEntity(java.lang.String name, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.endGeneralEntity(name, augs);
next.endGeneralEntity(name, augs);
| public com.sun.org.apache.xerces.internal.xni.XMLDocumentHandler | getDocumentHandler()
return next;
| public com.sun.org.apache.xerces.internal.xni.parser.XMLDocumentSource | getDocumentSource()
return source;
| public com.sun.org.apache.xerces.internal.xni.XMLDocumentHandler | getSide()
return side;
| public void | ignorableWhitespace(com.sun.org.apache.xerces.internal.xni.XMLString text, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.ignorableWhitespace(text, augs);
next.ignorableWhitespace(text, augs);
| public void | processingInstruction(java.lang.String target, com.sun.org.apache.xerces.internal.xni.XMLString data, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.processingInstruction(target, data, augs);
next.processingInstruction(target, data, augs);
| public void | setDocumentHandler(com.sun.org.apache.xerces.internal.xni.XMLDocumentHandler handler)
next = handler;
| public void | setDocumentSource(com.sun.org.apache.xerces.internal.xni.parser.XMLDocumentSource source)
this.source = source;
| public void | setSide(com.sun.org.apache.xerces.internal.xni.XMLDocumentHandler side)
this.side = side;
| public void | startCDATA(com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.startCDATA(augs);
next.startCDATA(augs);
| public void | startDocument(com.sun.org.apache.xerces.internal.xni.XMLLocator locator, java.lang.String encoding, com.sun.org.apache.xerces.internal.xni.NamespaceContext namespaceContext, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.startDocument(locator, encoding, namespaceContext, augs);
next.startDocument(locator, encoding, namespaceContext, augs);
| public void | startElement(com.sun.org.apache.xerces.internal.xni.QName element, com.sun.org.apache.xerces.internal.xni.XMLAttributes attributes, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.startElement(element, attributes, augs);
next.startElement(element, attributes, augs);
| public void | startGeneralEntity(java.lang.String name, com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier identifier, java.lang.String encoding, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.startGeneralEntity(name, identifier, encoding, augs);
next.startGeneralEntity(name, identifier, encoding, augs);
| public void | textDecl(java.lang.String version, java.lang.String encoding, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.textDecl(version, encoding, augs);
next.textDecl(version, encoding, augs);
| public void | xmlDecl(java.lang.String version, java.lang.String encoding, java.lang.String standalone, com.sun.org.apache.xerces.internal.xni.Augmentations augs)
side.xmlDecl(version, encoding, standalone, augs);
next.xmlDecl(version, encoding, standalone, augs);
|
|