org.apache.xalan.transformer
public interface TransformState extends TransformStateSetter
Note that the current stylesheet and root stylesheet can be retrieved from the ElemTemplateElement obtained from either getCurrentElement() or getCurrentTemplate().
This interface contains only getter methods, any setters are in the interface TransformStateSetter which this interface extends.See Also: TransformStateSetter
Method Summary | |
---|---|
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.
|
Returns: the current context node list.
Please note that the ElemTemplateElement returned may be in a default template, and thus may not be defined in the stylesheet.
Returns: the stylesheet element that produced the SAX event.
Returns: the current context node in the source tree.
Please note that the ElemTemplate returned may be a default template, and thus may not have a template defined in the stylesheet.
Returns: the xsl:template that is in effect
Returns: the node in the source tree that matched the template obtained via getMatchedTemplate().
Please note that the ElemTemplate returned may be a default template, and thus may not have a template defined in the stylesheet.
Returns: the xsl:template that was matched.
Returns: the TrAX Transformer object in effect.