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

XMLDocumentFilterImpl

public class XMLDocumentFilterImpl extends Object implements XMLDocumentFilter
Default implementation of {@link XMLDocumentFilter} that simply passes through events to the next component.

Can be used as a base implementation of other more sophisticated {@link XMLDocumentFilter}s.

author
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Fields Summary
private XMLDocumentHandler
next
private XMLDocumentSource
source
Constructors Summary
Methods Summary
public voidcharacters(com.sun.org.apache.xerces.internal.xni.XMLString text, com.sun.org.apache.xerces.internal.xni.Augmentations 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)

        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)

        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)

        next.emptyElement(element, attributes, augs);
    
public voidendCDATA(com.sun.org.apache.xerces.internal.xni.Augmentations augs)

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

        next.endDocument(augs);
    
public voidendElement(com.sun.org.apache.xerces.internal.xni.QName element, com.sun.org.apache.xerces.internal.xni.Augmentations augs)

        next.endElement(element, augs);
    
public voidendGeneralEntity(java.lang.String name, com.sun.org.apache.xerces.internal.xni.Augmentations 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 voidignorableWhitespace(com.sun.org.apache.xerces.internal.xni.XMLString text, com.sun.org.apache.xerces.internal.xni.Augmentations 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)

        next.processingInstruction(target, data, augs);
    
public voidsetDocumentHandler(com.sun.org.apache.xerces.internal.xni.XMLDocumentHandler handler)

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

        this.source = source;
    
public voidstartCDATA(com.sun.org.apache.xerces.internal.xni.Augmentations 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)

        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)

        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)

        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)

        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)

        next.xmlDecl(version, encoding, standalone, augs);