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)
-
ECMASCRIPT
-
-
JPYTHON
-
-
generateId(Node)
- Creates a unique identifier for the given node
-
getAttributeValueTemplate(String)
- Returns the value of the given String as an AttributeValueTemplate
-
getDOMPackage()
-
-
getIDReferences()
- Returns the ID references for the xml source document
-
getNodeSetStack()
- Returns the current NodeSet stack being used by this ProcessorState
-
getProperty(String)
- Returns the Property value associated with the given name.
-
getScriptHandler()
- Retrieves the default ScriptHandler for xsl:script evaluations.
-
getScriptHandler(String)
- Retrieves the ScriptHandler for xsl:script evaluations.
-
getScriptHandler(String, String)
- Retrieves the ScriptHandler that has the given function defined
within the given namespace
-
getStylesheetHref()
-
-
getXMLSpaceModes()
- Returns the stack of XML space modes
ECMASCRIPT
public static final String ECMASCRIPT
JPYTHON
public static final String JPYTHON
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
getDOMPackage
public DOMPackage getDOMPackage()
- Returns:
- s the DOMPackage currently being used by this ProcessorState
getStylesheetHref
public String getStylesheetHref()
getNodeSetStack
public QuickStack getNodeSetStack()
- Returns the current NodeSet stack being used by this ProcessorState
- Returns:
- the current NodeSet stack being used by this ProcessorState
getIDReferences
public Hashtable getIDReferences()
- Returns the ID references for the xml source document
- Returns:
- the ID references for the xml source document
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.
getXMLSpaceModes
public QuickStack getXMLSpaceModes()
- Returns the stack of XML space modes
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
getScriptHandler
public ScriptHandler getScriptHandler()
- Retrieves the default ScriptHandler for xsl:script evaluations.
- Returns:
- the ScriptHandler for evaluating xsl:script elements
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
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