Package net.sf.saxon.jaxp
Class FilterImpl
- java.lang.Object
- 
- net.sf.saxon.jaxp.AbstractXMLFilter
- 
- net.sf.saxon.jaxp.FilterImpl
 
 
- 
- All Implemented Interfaces:
- org.xml.sax.XMLFilter,- org.xml.sax.XMLReader
 
 public class FilterImpl extends AbstractXMLFilter 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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.transform.TransformergetTransformer()Get the underlying Transformer.voidparse(org.xml.sax.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.AbstractXMLFiltergetContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty
 
- 
 
- 
- 
- 
Method Detail- 
parsepublic void parse(org.xml.sax.InputSource input) throws java.io.IOException, org.xml.sax.SAXExceptionParse 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:
- org.xml.sax.SAXException- Any SAX exception, possibly wrapping another exception.
- java.io.IOException- An IO exception from the parser, possibly from a byte stream or character stream supplied by the application.
- See Also:
- InputSource,- AbstractXMLFilter.parse(java.lang.String),- AbstractXMLFilter.setEntityResolver(org.xml.sax.EntityResolver),- AbstractXMLFilter.setDTDHandler(org.xml.sax.DTDHandler),- AbstractXMLFilter.setContentHandler(org.xml.sax.ContentHandler),- AbstractXMLFilter.setErrorHandler(org.xml.sax.ErrorHandler)
 
 - 
getTransformerpublic javax.xml.transform.Transformer 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
 
 
- 
 
-