public class XalanTransformState extends java.lang.Object implements TransformState
| Constructor and Description |
|---|
XalanTransformState() |
| Modifier and Type | Method and Description |
|---|---|
NodeIterator |
getContextNodeList()
Get the current context node list.
|
ElemTemplateElement |
getCurrentElement()
Retrieves the stylesheet element that produced
the SAX event.
|
Node |
getCurrentNode()
This method retrieves the current context node
in the source tree.
|
ElemTemplate |
getCurrentTemplate()
This method retrieves the xsl:template
that is in effect, which may be a matched template
or a named template.
|
Node |
getMatchedNode()
Retrieves the node in the source tree that matched
the template obtained via getMatchedTemplate().
|
ElemTemplate |
getMatchedTemplate()
This method retrieves the xsl:template
that was matched.
|
Transformer |
getTransformer()
Get the TrAX Transformer object in effect.
|
void |
resetState(Transformer transformer)
Reset the state on the given transformer object.
|
void |
setCurrentNode(Node n)
Set the current node.
|
public void setCurrentNode(Node n)
TransformStateSettersetCurrentNode in interface TransformStateSettern - The current node.TransformStateSetter.setCurrentNode(Node)public void resetState(Transformer transformer)
TransformStateSetterresetState in interface TransformStateSetterTransformStateSetter.resetState(Transformer)public ElemTemplateElement getCurrentElement()
TransformStatePlease note that the ElemTemplateElement returned may be in a default template, and thus may not be defined in the stylesheet.
getCurrentElement in interface TransformStateTransformState.getCurrentElement()public Node getCurrentNode()
TransformStategetCurrentNode in interface TransformStateTransformState.getCurrentNode()public ElemTemplate getCurrentTemplate()
TransformStatePlease note that the ElemTemplate returned may be a default template, and thus may not have a template defined in the stylesheet.
getCurrentTemplate in interface TransformStateTransformState.getCurrentTemplate()public ElemTemplate getMatchedTemplate()
TransformStatePlease note that the ElemTemplate returned may be a default template, and thus may not have a template defined in the stylesheet.
getMatchedTemplate in interface TransformStateTransformState.getMatchedTemplate()public Node getMatchedNode()
TransformStategetMatchedNode in interface TransformStateTransformState.getMatchedNode()public NodeIterator getContextNodeList()
TransformStategetContextNodeList in interface TransformStateTransformState.getContextNodeList()public Transformer getTransformer()
TransformStategetTransformer in interface TransformStateTransformState.getTransformer()Copyright © 2014 Apache XML Project. All Rights Reserved.