class ProcessContextImpl extends java.lang.Object implements ProcessContext
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ProcessContextImpl.VariableBindings |
ProcessContext.Memento
Modifier and Type | Field and Description |
---|---|
(package private) static StringVariant |
emptyStringVariant |
(package private) static int |
OPEN_ACTION_INIT_SIZE |
Constructor and Description |
---|
ProcessContextImpl(SheetDetails sheet,
Node root,
XMLProcessor parser,
ParameterSet params) |
Modifier and Type | Method and Description |
---|---|
void |
applyImports(Node node,
Result result) |
void |
bindLocalVariable(Name name,
Variant value) |
ProcessContext.Memento |
createMemento() |
Result |
createNodeResult(Node baseNode,
Node[] rootNodeRef) |
java.lang.Object |
get(java.lang.Object key) |
Node |
getCurrent(Node node) |
NodeIterator |
getDocument(java.net.URL baseURL,
java.lang.String uriRef) |
ExtensionContext |
getExtensionContext(java.lang.String namespace) |
Variant |
getGlobalVariableValue(Name name) |
int |
getLastPosition() |
Variant |
getLocalVariableValue(Name name) |
Variant |
getParam(Name name) |
int |
getPosition() |
Variant |
getSystemProperty(Name name) |
Node |
getTree(Variant variant) |
boolean |
hasAttribute(java.util.Vector nameList,
Node node,
java.lang.String value) |
void |
invoke(NodeIterator iter,
Action action,
Result result) |
void |
invokeWithParams(Action action,
Name[] paramNames,
Variant[] paramValues,
Node node,
Result result) |
void |
process(NodeIterator iter,
Name modeName,
Name[] paramNames,
Variant[] paramValues,
Result result) |
(package private) void |
processSafe(Node node,
Name name,
Result result) |
void |
put(java.lang.Object key,
java.lang.Object value) |
Name |
unaliasName(Name name) |
NamespacePrefixMap |
unaliasNamespacePrefixMap(NamespacePrefixMap map) |
void |
unbindLocalVariables(int n) |
void |
useAttributeSet(Name name,
Node node,
Result result) |
static final int OPEN_ACTION_INIT_SIZE
static StringVariant emptyStringVariant
ProcessContextImpl(SheetDetails sheet, Node root, XMLProcessor parser, ParameterSet params)
public void invoke(NodeIterator iter, Action action, Result result) throws XSLException
invoke
in interface ProcessContext
XSLException
public void process(NodeIterator iter, Name modeName, Name[] paramNames, Variant[] paramValues, Result result) throws XSLException
process
in interface ProcessContext
XSLException
void processSafe(Node node, Name name, Result result) throws XSLException
XSLException
public void applyImports(Node node, Result result) throws XSLException
applyImports
in interface ProcessContext
XSLException
public final boolean hasAttribute(java.util.Vector nameList, Node node, java.lang.String value)
public int getPosition()
getPosition
in interface ExprContext
public int getLastPosition() throws XSLException
getLastPosition
in interface ExprContext
XSLException
public Variant getGlobalVariableValue(Name name) throws XSLException
getGlobalVariableValue
in interface ExprContext
XSLException
public Variant getLocalVariableValue(Name name)
getLocalVariableValue
in interface ExprContext
public void bindLocalVariable(Name name, Variant value) throws XSLException
bindLocalVariable
in interface ProcessContext
XSLException
public void unbindLocalVariables(int n)
unbindLocalVariables
in interface ProcessContext
public void invokeWithParams(Action action, Name[] paramNames, Variant[] paramValues, Node node, Result result) throws XSLException
invokeWithParams
in interface ProcessContext
XSLException
public Variant getParam(Name name)
getParam
in interface ProcessContext
public ProcessContext.Memento createMemento()
createMemento
in interface ProcessContext
public ExtensionContext getExtensionContext(java.lang.String namespace) throws XSLException
getExtensionContext
in interface ExprContext
XSLException
public Variant getSystemProperty(Name name)
getSystemProperty
in interface ExprContext
public Node getCurrent(Node node)
getCurrent
in interface ExprContext
public void useAttributeSet(Name name, Node node, Result result) throws XSLException
useAttributeSet
in interface ProcessContext
XSLException
public NodeIterator getDocument(java.net.URL baseURL, java.lang.String uriRef) throws XSLException
getDocument
in interface ExprContext
XSLException
public Name unaliasName(Name name)
unaliasName
in interface ProcessContext
public NamespacePrefixMap unaliasNamespacePrefixMap(NamespacePrefixMap map)
unaliasNamespacePrefixMap
in interface ProcessContext
public void put(java.lang.Object key, java.lang.Object value)
put
in interface ProcessContext
public java.lang.Object get(java.lang.Object key)
get
in interface ProcessContext
public Node getTree(Variant variant) throws XSLException
getTree
in interface ExprContext
XSLException
public Result createNodeResult(Node baseNode, Node[] rootNodeRef) throws XSLException
createNodeResult
in interface ProcessContext
XSLException