public class XalanTransformState extends Object implements TransformState
| Constructor and Description |
|---|
XalanTransformState() |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.traversal.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) |
void |
setCurrentNode(Node n) |
public void setCurrentNode(Node n)
setCurrentNode in interface org.apache.xml.serializer.TransformStateSetterTransformStateSetter.setCurrentNode(Node)public void resetState(Transformer transformer)
resetState in interface org.apache.xml.serializer.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 org.w3c.dom.traversal.NodeIterator getContextNodeList()
TransformStategetContextNodeList in interface TransformStateTransformState.getContextNodeList()public Transformer getTransformer()
TransformStategetTransformer in interface TransformStateTransformState.getTransformer()Copyright © 2012 JBoss by Red Hat. All Rights Reserved.