|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface for scripting environments
| Method Summary | |
|---|---|
java.lang.Object |
call(java.lang.String name,
java.lang.Object[] args)
Calls the method with the given name, and set of arguments |
java.lang.Object |
call(java.lang.String name,
java.lang.Object[] args,
java.lang.String namespace)
Calls the method with the given name, and set of arguments |
boolean |
createNamespace(java.lang.String name)
Creates a new namespace with the given name |
java.lang.Object |
eval(XSLScript xslScript,
org.w3c.dom.Node context)
Evaluates the given XSLScript element using the default namespace |
java.lang.Object |
eval(XSLScript xslScript,
org.w3c.dom.Node context,
java.lang.String namespace)
Evaluates the given XSLScript element using the given namespace |
java.lang.Object |
evalAsFunction(XSLScript xslScript,
org.w3c.dom.Node context)
Evaluates the given XSLScript element as a function using the default namespace. |
java.lang.Object |
evalAsFunction(XSLScript xslScript,
org.w3c.dom.Node context,
java.lang.String namespace)
Evaluates the given XSLScript element as a function using the given namespace. |
java.lang.String |
getLanguage()
Returns the name of the language that this ScriptHandler handles |
boolean |
hasDefinedFunction(java.lang.String name,
java.lang.String namespace)
|
void |
initialize(ProcessorCallback pc)
Initializes the scripting environment |
| Method Detail |
public java.lang.Object call(java.lang.String name,
java.lang.Object[] args)
name - the name of the method to callargs - the methods arguments
public java.lang.Object call(java.lang.String name,
java.lang.Object[] args,
java.lang.String namespace)
name - the name of the method to callargs - the methods argumentsnamespace - the Namespace to use for evaluation
public boolean createNamespace(java.lang.String name)
public java.lang.Object eval(XSLScript xslScript,
org.w3c.dom.Node context)
xslScript - the XSLScript to evaluatecontext - the current DOM Node that is the context
of this evaluation.
public java.lang.Object eval(XSLScript xslScript,
org.w3c.dom.Node context,
java.lang.String namespace)
xslScript - the XSLScript to evaluatecontext - the current DOM Node that is the context
of this evaluation.namespace - the Namespace to use for evaluation
public java.lang.Object evalAsFunction(XSLScript xslScript,
org.w3c.dom.Node context)
xslScript - the XSLScript to evaluatecontext - the current DOM Node that is the context
of this evaluation.
public java.lang.Object evalAsFunction(XSLScript xslScript,
org.w3c.dom.Node context,
java.lang.String namespace)
xslScript - the XSLScript to evaluatecontext - the current DOM Node that is the context
of this evaluation.namespace - the Namespace to use for evaluation
public java.lang.String getLanguage()
public boolean hasDefinedFunction(java.lang.String name,
java.lang.String namespace)
public void initialize(ProcessorCallback pc)
pc - the ProcessorCallback for supporting
access to the RuleProcessor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||