Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
gnu.xml.pipeline

Class XsltFilter

java.lang.Object
|
+--gnu.xml.pipeline.EventFilter
   |
   +--gnu.xml.pipeline.XsltFilter


public final class XsltFilter

extends EventFilter

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.

Author:See Also:

Constructor Summary

XsltFilter(java.lang.String stylesheet, gnu.xml.pipeline.EventConsumer next)

Creates a filter that performs the specified transform.

Constructor Details

XsltFilter

public XsltFilter(java.lang.String stylesheet, gnu.xml.pipeline.EventConsumer next)

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:

Throws: