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 ProcessContextXSLExceptionpublic void process(NodeIterator iter, Name modeName, Name[] paramNames, Variant[] paramValues, Result result) throws XSLException
process in interface ProcessContextXSLExceptionvoid processSafe(Node node, Name name, Result result) throws XSLException
XSLExceptionpublic void applyImports(Node node, Result result) throws XSLException
applyImports in interface ProcessContextXSLExceptionpublic final boolean hasAttribute(java.util.Vector nameList,
Node node,
java.lang.String value)
public int getPosition()
getPosition in interface ExprContextpublic int getLastPosition()
throws XSLException
getLastPosition in interface ExprContextXSLExceptionpublic Variant getGlobalVariableValue(Name name) throws XSLException
getGlobalVariableValue in interface ExprContextXSLExceptionpublic Variant getLocalVariableValue(Name name)
getLocalVariableValue in interface ExprContextpublic void bindLocalVariable(Name name, Variant value) throws XSLException
bindLocalVariable in interface ProcessContextXSLExceptionpublic void unbindLocalVariables(int n)
unbindLocalVariables in interface ProcessContextpublic void invokeWithParams(Action action, Name[] paramNames, Variant[] paramValues, Node node, Result result) throws XSLException
invokeWithParams in interface ProcessContextXSLExceptionpublic Variant getParam(Name name)
getParam in interface ProcessContextpublic ProcessContext.Memento createMemento()
createMemento in interface ProcessContextpublic ExtensionContext getExtensionContext(java.lang.String namespace) throws XSLException
getExtensionContext in interface ExprContextXSLExceptionpublic Variant getSystemProperty(Name name)
getSystemProperty in interface ExprContextpublic Node getCurrent(Node node)
getCurrent in interface ExprContextpublic void useAttributeSet(Name name, Node node, Result result) throws XSLException
useAttributeSet in interface ProcessContextXSLExceptionpublic NodeIterator getDocument(java.net.URL baseURL, java.lang.String uriRef) throws XSLException
getDocument in interface ExprContextXSLExceptionpublic Name unaliasName(Name name)
unaliasName in interface ProcessContextpublic NamespacePrefixMap unaliasNamespacePrefixMap(NamespacePrefixMap map)
unaliasNamespacePrefixMap in interface ProcessContextpublic void put(java.lang.Object key,
java.lang.Object value)
put in interface ProcessContextpublic java.lang.Object get(java.lang.Object key)
get in interface ProcessContextpublic Node getTree(Variant variant) throws XSLException
getTree in interface ExprContextXSLExceptionpublic Result createNodeResult(Node baseNode, Node[] rootNodeRef) throws XSLException
createNodeResult in interface ProcessContextXSLException