|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessContext
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,
Action action,
Result result)
|
void |
invokeWithParams(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 |
---|
void process(NodeIterator nodes, Name modeName, Name[] paramNames, Variant[] paramValues, Result result) throws XSLException
XSLException
void invoke(NodeIterator nodes, Action action, Result result) throws XSLException
XSLException
Variant getParam(Name name) throws XSLException
XSLException
void applyImports(Node node, Result result) throws XSLException
XSLException
void bindLocalVariable(Name name, Variant variant) throws XSLException
XSLException
void unbindLocalVariables(int n)
void invokeWithParams(Action action, Name[] paramNames, Variant[] paramValues, Node node, Result result) throws XSLException
XSLException
ProcessContext.Memento createMemento()
void useAttributeSet(Name name, Node node, Result result) throws XSLException
XSLException
Name unaliasName(Name name)
NamespacePrefixMap unaliasNamespacePrefixMap(NamespacePrefixMap map)
void put(java.lang.Object key, java.lang.Object value)
java.lang.Object get(java.lang.Object key)
Result createNodeResult(Node baseNode, Node[] rootNodeRef) throws XSLException
XSLException
SaxFilterMaker getSaxExtensionFilter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |