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
boolean
getIncludeComments()
boolean
getIncludeProcessingInstructions()
NameTable
getNameTable()
LoadContext
getSheetLoadContext()
boolean
getStripSource(Name elementTypeName)

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

createName, 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

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