Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gnu.xml.pipeline.EventFilter
gnu.xml.pipeline.XsltFilter
public final class XsltFilter
extends EventFilter
TransformerFactory
Field Summary |
Fields inherited from class gnu.xml.pipeline.EventFilter | |
DECL_HANDLER , FEATURE_URI , LEXICAL_HANDLER , PROPERTY_URI |
Constructor Summary | |
|
Method Summary |
public XsltFilter(String stylesheet, EventConsumer next) throws SAXException, IOException
Creates a filter that performs the specified transform. Uses the JAXP 1.1 interfaces to access the default XSLT engine configured for in the current execution context, and parses the stylesheet without custom EntityResolver or ErrorHandler support.
- Parameters:
stylesheet
- URI for the stylesheet specifying the XSLT transformnext
- provides the ContentHandler and LexicalHandler to receive XSLT output.
- Throws:
SAXException
- if the stylesheet can't be parsed