FileDocCategorySizeDatePackage
TeeXMLDocumentFilterImpl.javaAPI DocJava SE 5 API7874Fri Aug 26 14:55:56 BST 2005com.sun.org.apache.xerces.internal.util

TeeXMLDocumentFilterImpl

public class TeeXMLDocumentFilterImpl extends Object implements XMLDocumentFilter
author
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Fields Summary
private XMLDocumentHandler
next
The next component in the pipeline who receives the event. This component receives events after the "side" handler receives them.
private XMLDocumentHandler
side
The component who intercepts events.
private XMLDocumentSource
source
The source of the event.
Constructors Summary
Methods Summary
public voidcharacters(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 voidcomment(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 voiddoctypeDecl(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 voidemptyElement(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 voidendCDATA(com.sun.org.apache.xerces.internal.xni.Augmentations augs)

        side.endCDATA(augs);
        next.endCDATA(augs);
    
public voidendDocument(com.sun.org.apache.xerces.internal.xni.Augmentations augs)

        side.endDocument(augs);
        next.endDocument(augs);
    
public voidendElement(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 voidendGeneralEntity(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.XMLDocumentHandlergetDocumentHandler()

        return next;
    
public com.sun.org.apache.xerces.internal.xni.parser.XMLDocumentSourcegetDocumentSource()

        return source;
    
public com.sun.org.apache.xerces.internal.xni.XMLDocumentHandlergetSide()

        return side;
    
public voidignorableWhitespace(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 voidprocessingInstruction(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 voidsetDocumentHandler(com.sun.org.apache.xerces.internal.xni.XMLDocumentHandler handler)

        next = handler;
    
public voidsetDocumentSource(com.sun.org.apache.xerces.internal.xni.parser.XMLDocumentSource source)

        this.source = source;
    
public voidsetSide(com.sun.org.apache.xerces.internal.xni.XMLDocumentHandler side)

        this.side = side;
    
public voidstartCDATA(com.sun.org.apache.xerces.internal.xni.Augmentations augs)

        side.startCDATA(augs);
        next.startCDATA(augs);
    
public voidstartDocument(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 voidstartElement(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 voidstartGeneralEntity(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 voidtextDecl(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 voidxmlDecl(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);