All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.kvisco.xsl.ProcessorState

com.kvisco.xsl.ProcessorState

public class ProcessorState
The current RuleProcessor environment

Author:
Keith Visco (kvisco@ziplink.net)

Variable Index

 o ECMASCRIPT
 o JPYTHON

Method Index

 o generateId(Node)
Creates a unique identifier for the given node
 o getAttributeValueTemplate(String)
Returns the value of the given String as an AttributeValueTemplate
 o getDOMPackage()
 o getIDReferences()
Returns the ID references for the xml source document
 o getNodeSetStack()
Returns the current NodeSet stack being used by this ProcessorState
 o getProperty(String)
Returns the Property value associated with the given name.
 o getScriptHandler()
Retrieves the default ScriptHandler for xsl:script evaluations.
 o getScriptHandler(String)
Retrieves the ScriptHandler for xsl:script evaluations.
 o getScriptHandler(String, String)
Retrieves the ScriptHandler that has the given function defined within the given namespace
 o getStylesheetHref()
 o getXMLSpaceModes()
Returns the stack of XML space modes

Variables

 o ECMASCRIPT
 public static final String ECMASCRIPT
 o JPYTHON
 public static final String JPYTHON

Methods

 o generateId
 public String generateId(Node node)
Creates a unique identifier for the given node

Returns:
the String that is a unique identifier for the given node
 o getDOMPackage
 public DOMPackage getDOMPackage()
Returns:
s the DOMPackage currently being used by this ProcessorState
 o getStylesheetHref
 public String getStylesheetHref()
 o getNodeSetStack
 public QuickStack getNodeSetStack()
Returns the current NodeSet stack being used by this ProcessorState

Returns:
the current NodeSet stack being used by this ProcessorState
 o getIDReferences
 public Hashtable getIDReferences()
Returns the ID references for the xml source document

Returns:
the ID references for the xml source document
 o getProperty
 public String getProperty(String name)
Returns the Property value associated with the given name. All property names without a namespace are defaulted to the System evironment scope.

Returns:
the Property value associated with the given name.
 o getXMLSpaceModes
 public QuickStack getXMLSpaceModes()
Returns the stack of XML space modes

 o getAttributeValueTemplate
 public AttributeValueTemplate getAttributeValueTemplate(String avtString) throws InvalidExprException
Returns the value of the given String as an AttributeValueTemplate

Returns:
s the value of the given String as an AttributeValueTemplate
Throws: InvalidExprException
when the String argument is not a valid AttrubueValueTemplate
 o getScriptHandler
 public ScriptHandler getScriptHandler()
Retrieves the default ScriptHandler for xsl:script evaluations.

Returns:
the ScriptHandler for evaluating xsl:script elements
 o getScriptHandler
 public ScriptHandler getScriptHandler(String functionName,
                                       String namespace)
Retrieves the ScriptHandler that has the given function defined within the given namespace

Parameters:
functionName - the name of the function to look for
namespace - the name of the Namespace in which the function has been defined
Returns:
the ScriptHandler which defines the given function, otherwise null is returned
 o getScriptHandler
 public ScriptHandler getScriptHandler(String language)
Retrieves the ScriptHandler for xsl:script evaluations.

Parameters:
language - the script language to get a handler for.
Returns:
the ScriptHandler for evaluating xsl:script elements or null if no handler is found

All Packages  Class Hierarchy  This Package  Previous  Next  Index