Package net.sf.saxon.jaxp
Class FilterImpl
java.lang.Object
net.sf.saxon.jaxp.AbstractXMLFilter
net.sf.saxon.jaxp.FilterImpl
FilterImpl is an XMLFilter (a SAX2 filter) that performs a transformation
taking a SAX stream as input and producing a SAX stream as output.
-
Method Summary
Modifier and TypeMethodDescriptionGet the underlying Transformer.void
parse
(InputSource input) Parse an XML document - In the context of a Transformer, this means perform a transformation.Methods inherited from class net.sf.saxon.jaxp.AbstractXMLFilter
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty
-
Method Details
-
parse
Parse an XML document - In the context of a Transformer, this means perform a transformation. The method is equivalent to transform().- Parameters:
input
- The input source (the XML document to be transformed)- Throws:
SAXException
- Any SAX exception, possibly wrapping another exception.IOException
- An IO exception from the parser, possibly from a byte stream or character stream supplied by the application.- See Also:
-
getTransformer
Get the underlying Transformer. This is a Saxon-specific method that allows the user to set parameters on the transformation, set a URIResolver or ErrorListener, etc.- Since:
- Saxon 7.2
-