com.jclark.xsl.tr

Class EngineImpl

Implemented Interfaces:
Engine, LoadContext, NameTable

public class EngineImpl
extends NameTableImpl
implements Engine, LoadContext

compiles a stylesheet from a (XSLT D)OM

Constructor Summary

EngineImpl(XMLProcessor parser, ExtensionHandler extensionHandler)
we'll keep track of the loader/processor for sheet creation time

Method Summary

Sheet
createSheet(Node node)
complies the stylesheet from the parsed OM
Sheet
createSheet(Node node, ActionDebugTarget debugger)
complies the stylesheet from the parsed OM providing a debugger
ActionDebugTarget
getDebugger()
boolean
getIncludeComments()
boolean
getIncludeProcessingInstructions()
NameTable
getNameTable()
LoadContext
getSheetLoadContext()
boolean
getStripSource(Name elementTypeName)

Methods inherited from class com.jclark.xsl.om.NameTableImpl

createName, createName, getEmptyNamespacePrefixMap, intern

Constructor Details

EngineImpl

public EngineImpl(XMLProcessor parser,
                  ExtensionHandler extensionHandler)
we'll keep track of the loader/processor for sheet creation time

Method Details

createSheet

public Sheet createSheet(Node node)
            throws IOException,
                   XSLException
complies the stylesheet from the parsed OM
Specified by:
createSheet in interface Engine

createSheet

public Sheet createSheet(Node node,
                         ActionDebugTarget debugger)
            throws IOException,
                   XSLException
complies the stylesheet from the parsed OM providing a debugger
Specified by:
createSheet in interface Engine

getDebugger

public ActionDebugTarget getDebugger()
Specified by:
getDebugger in interface LoadContext

getIncludeComments

public boolean getIncludeComments()
Specified by:
getIncludeComments in interface LoadContext

getIncludeProcessingInstructions

public boolean getIncludeProcessingInstructions()
Specified by:
getIncludeProcessingInstructions in interface LoadContext

getNameTable

public NameTable getNameTable()
Specified by:
getNameTable in interface Engine

getSheetLoadContext

public LoadContext getSheetLoadContext()
Specified by:
getSheetLoadContext in interface Engine

getStripSource

public boolean getStripSource(Name elementTypeName)
Specified by:
getStripSource in interface LoadContext