com.jclark.xsl.dom

Class XSLTransformEngine

Implemented Interfaces:
TransformEngine, XMLProcessor

public class XSLTransformEngine
extends java.lang.Object
implements TransformEngine, XMLProcessor

Constructor Summary

XSLTransformEngine()
XSLTransformEngine(DOMExtensions extend)

Method Summary

Result
createResult(Node baseNode, int documentIndex, LoadContext loadContext, Node rootNodeRef)
Transform
createTransform(org.w3c.dom.Node domNode)
Node
load(URL url, int documentIndex, LoadContext context, NameTable nameTable)
construct an object model from the XML source at the given URL.

Constructor Details

XSLTransformEngine

public XSLTransformEngine()


XSLTransformEngine

public XSLTransformEngine(DOMExtensions extend)

Method Details

createResult

public Result createResult(Node baseNode,
                           int documentIndex,
                           LoadContext loadContext,
                           Node rootNodeRef)
            throws XSLException


createTransform

public Transform createTransform(org.w3c.dom.Node domNode)
            throws TransformException


load

public Node load(URL url,
                 int documentIndex,
                 LoadContext context,
                 NameTable nameTable)
            throws XSLException
construct an object model from the XML source at the given URL.
Specified by:
load in interface XMLProcessor

Parameters:
url - the source XML
documentIndex - an internal identifier for this document
nameTable - initial set of in-scope namespace bindings