|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.xml.pipeline.EventFilter
gnu.xml.pipeline.XsltFilter
public final class XsltFilter
Packages an XSLT transform as a pipeline component. Note that all DTD events (callbacks to DeclHandler and DTDHandler interfaces) are discarded, although XSLT transforms may be set up to use the LexicalHandler to write DTDs with only an external subset. Not every XSLT engine will necessarily be usable with this filter, but current versions of SAXON and Xalan should work well.
TransformerFactory
Field Summary |
---|
Fields inherited from class gnu.xml.pipeline.EventFilter |
---|
DECL_HANDLER, FEATURE_URI, LEXICAL_HANDLER, PROPERTY_URI |
Constructor Summary | |
---|---|
XsltFilter(java.lang.String stylesheet,
EventConsumer next)
Creates a filter that performs the specified transform. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XsltFilter(java.lang.String stylesheet, EventConsumer next) throws SAXException, java.io.IOException
stylesheet
- URI for the stylesheet specifying the
XSLT transformnext
- provides the ContentHandler and LexicalHandler
to receive XSLT output.
SAXException
- if the stylesheet can't be parsed
java.io.IOException
- if there are difficulties
bootstrapping the XSLT engine, such as it not supporting
SAX well enough to use this way.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2012-01-06.