|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Processing context for a Stylesheet (Sheet) maintains state for a transformation, and actually does the dispatching of the transformation work by calling invoke() on Actions
| Nested Class Summary | |
static interface |
ProcessContext.Memento
|
| Method Summary | |
void |
applyImports(Node node,
Result result)
|
void |
bindLocalVariable(Name name,
Variant variant)
binds a varaible to the given Name |
ProcessContext.Memento |
createMemento()
|
Result |
createNodeResult(Node baseNode,
Node[] rootNodeRef)
|
java.lang.Object |
get(java.lang.Object key)
|
Variant |
getParam(Name name)
|
SaxFilterMaker |
getSaxExtensionFilter()
returns an XRAP (Extension element) processor, packaged as a SAX filter |
void |
invoke(NodeIterator nodes,
com.jclark.xsl.tr.Action action,
Result result)
|
void |
invokeWithParams(com.jclark.xsl.tr.Action action,
Name[] paramNames,
Variant[] paramValues,
Node node,
Result result)
|
void |
process(NodeIterator nodes,
Name modeName,
Name[] paramNames,
Variant[] paramValues,
Result result)
perform the transformation |
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)
|
| Methods inherited from interface com.jclark.xsl.expr.ExprContext |
getCurrent, getDocument, getExtensionContext, getGlobalVariableValue, getKeyValuesTable, getLastPosition, getLocalVariableValue, getPosition, getSystemProperty, getTree |
| Method Detail |
public void process(NodeIterator nodes,
Name modeName,
Name[] paramNames,
Variant[] paramValues,
Result result)
throws XSLException
XSLException
public void invoke(NodeIterator nodes,
com.jclark.xsl.tr.Action action,
Result result)
throws XSLException
XSLException
public Variant getParam(Name name)
throws XSLException
XSLException
public void applyImports(Node node,
Result result)
throws XSLException
XSLException
public void bindLocalVariable(Name name,
Variant variant)
throws XSLException
XSLExceptionpublic void unbindLocalVariables(int n)
public void invokeWithParams(com.jclark.xsl.tr.Action action,
Name[] paramNames,
Variant[] paramValues,
Node node,
Result result)
throws XSLException
XSLExceptionpublic ProcessContext.Memento createMemento()
public void useAttributeSet(Name name,
Node node,
Result result)
throws XSLException
XSLExceptionpublic Name unaliasName(Name name)
public NamespacePrefixMap unaliasNamespacePrefixMap(NamespacePrefixMap map)
public void put(java.lang.Object key,
java.lang.Object value)
public java.lang.Object get(java.lang.Object key)
public Result createNodeResult(Node baseNode,
Node[] rootNodeRef)
throws XSLException
XSLExceptionpublic SaxFilterMaker getSaxExtensionFilter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||