Class XMLPushFilterImpl

java.lang.Object
com.deltaxml.pipe.XMLPushFilterImpl
All Implemented Interfaces:
XMLPushFilter, ContentHandler, DTDHandler, DeclHandler, LexicalHandler

public abstract class XMLPushFilterImpl extends Object implements XMLPushFilter

A framework class which can be easily extended to provide custom push-mode SAX event filtering.

This class can be used to provide a Java equivalent of the JAXP TransformerHandler. When used directly it simply copies SAX events from input to the output and is equivalent to creating a TransformerHandler without an associated XSLT stylesheet or Template. When extended it can be used to provide custom behaviour and a route to the possible reimplementation of XSLT based TransformerHandlers directly in Java.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new instance of XMLPushFilterImpl.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    attributeDecl(String eName, String aName, String type, String mode, String value)
    An implementation of the DeclHandler attributeDecl method.
    void
    characters(char[] ch, int start, int length)
    An extensible implementation of the ContentHandler characters method.
    void
    comment(char[] ch, int start, int length)
    An extensible implementation of the LexicalHandler comment method.
    void
    elementDecl(String name, String model)
    An implementation of the DeclHandler elementDecl method.
    void
    An extensible implementation of the LexicalHandler endCDATA method.
    void
    An extensible implementation of the ContentHandler endDocument method.
    void
    An extensible implementation of the LexicalHandler endDTD method.
    void
    endElement(String uri, String localName, String qName)
    An extensible implementation of the ContentHandler endElement method.
    void
    An extensible implementation of the LexicalHandler endEntity method.
    void
    An extensible implementation of the ContentHandler endPrefixMapping method.
    void
    externalEntityDecl(String name, String publicId, String systemId)
    An implementation of the DeclHandler externalEntityDecl method.
    void
    ignorableWhitespace(char[] ch, int start, int length)
    An extensible implementation of the ContentHandler ignorableWhitespace method.
    void
    An implementation of the DeclHandler internalEntityDecl method.
    void
    notationDecl(String name, String publicId, String systemId)
    Filter a notationDecl event.
    void
    An extensible implementation of the ContentHandler processingInstruction method.
    void
    An extensible implementation of the ContentHandler setDocumentLocator method.
    void
    setResult(Result result)
    Enables the user to set the Result of the transformation.
    void
    An extensible implementation of the ContentHandler skippedEntity method.
    void
    An extensible implementation of the LexicalHandler startCDATA method.
    void
    An extensible implementation of the ContentHandler startDocument method.
    void
    startDTD(String name, String publicId, String systemId)
    An extensible implementation of the LexicalHandler startDTD method.
    void
    startElement(String uri, String localName, String qName, Attributes atts)
    An extensible implementation of the ContentHandler startElement method.
    void
    An extensible implementation of the LexicalHandler startEntity method.
    void
    An extensible implementation of the ContentHandler startPrefixMapping method.
    void
    unparsedEntityDecl(String name, String publicId, String systemId, String notationName)
    An extensible implementation of the DTDHandler unparsedEntityDecl method.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.xml.sax.ContentHandler

    declaration