com.jclark.xsl.tr
Class ProcessContextImpl
class
ProcessContextImpl
extends Object
implements ProcessContext
manages the state of a transformation
(and performs the transformation
of a source document against an XSLT stylesheet)
Method Summary |
void | applyImports(Node node, Result result)
|
void | bindLocalVariable(Name name, Variant value)
|
ProcessContext.Memento | createMemento()
save some state |
Result | createNodeResult(Node baseNode, Node[] rootNodeRef)
|
Object | get(Object key)
|
Node | getCurrent(Node node)
|
NodeIterator | getDocument(URL baseURL, String uriRef)
load an object model representation of the XML document at
a url constructed from the two arguments |
ExtensionContext | getExtensionContext(String namespace)
|
Variant | getGlobalVariableValue(Name name)
|
KeyValuesTable | getKeyValuesTable(Name keyName, Node contextNode) |
int | getLastPosition()
|
Variant | getLocalVariableValue(Name name)
|
Variant | getParam(Name name)
|
int | getPosition()
|
SaxFilterMaker | getSaxExtensionFilter()
|
Variant | getSystemProperty(Name name)
|
Node | getTree(Variant variant)
|
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)
run the transformation |
void | processSafe(Node node, Name name, Result result) |
void | put(Object key, 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
public void applyImports(
Node node,
Result result)
public void bindLocalVariable(
Name name,
Variant value)
save some state
public Object get(Object key)
load an object model representation of the XML document at
a url constructed from the two arguments
Returns: the table of indexed nodes for the named key in the node's document
public int getLastPosition()
public int getPosition()
run the transformation
public void put(Object key, Object value)
public void unbindLocalVariables(int n)