|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.transformer.XalanTransformState
public class XalanTransformState
Before the serializer merge, the TransformState interface was implemented by ResultTreeHandler.
Field Summary | |
---|---|
(package private) DTMIterator |
m_contextNodeList
|
(package private) ElemTemplateElement |
m_currentElement
|
(package private) org.w3c.dom.Node |
m_currentNode
|
(package private) int |
m_currentNodeHandle
|
(package private) ElemTemplate |
m_currentTemplate
|
(package private) boolean |
m_elemPending
|
(package private) int |
m_matchedNode
|
(package private) ElemTemplate |
m_matchedTemplate
|
(package private) org.w3c.dom.Node |
m_node
|
(package private) TransformerImpl |
m_transformer
|
Constructor Summary | |
---|---|
XalanTransformState()
|
Method Summary | |
---|---|
org.w3c.dom.traversal.NodeIterator |
getContextNodeList()
Get the current context node list. |
ElemTemplateElement |
getCurrentElement()
Retrieves the stylesheet element that produced the SAX event. |
org.w3c.dom.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. |
org.w3c.dom.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. |
javax.xml.transform.Transformer |
getTransformer()
Get the TrAX Transformer object in effect. |
void |
resetState(javax.xml.transform.Transformer transformer)
Reset the state on the given transformer object. |
void |
setCurrentNode(org.w3c.dom.Node n)
Set the current node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
org.w3c.dom.Node m_node
ElemTemplateElement m_currentElement
ElemTemplate m_currentTemplate
ElemTemplate m_matchedTemplate
int m_currentNodeHandle
org.w3c.dom.Node m_currentNode
int m_matchedNode
DTMIterator m_contextNodeList
boolean m_elemPending
TransformerImpl m_transformer
Constructor Detail |
---|
public XalanTransformState()
Method Detail |
---|
public void setCurrentNode(org.w3c.dom.Node n)
TransformStateSetter
setCurrentNode
in interface TransformStateSetter
n
- The current node.TransformStateSetter.setCurrentNode(Node)
public void resetState(javax.xml.transform.Transformer transformer)
TransformStateSetter
resetState
in interface TransformStateSetter
TransformStateSetter.resetState(Transformer)
public ElemTemplateElement getCurrentElement()
TransformState
Please note that the ElemTemplateElement returned may be in a default template, and thus may not be defined in the stylesheet.
getCurrentElement
in interface TransformState
TransformState.getCurrentElement()
public org.w3c.dom.Node getCurrentNode()
TransformState
getCurrentNode
in interface TransformState
TransformState.getCurrentNode()
public ElemTemplate getCurrentTemplate()
TransformState
Please note that the ElemTemplate returned may be a default template, and thus may not have a template defined in the stylesheet.
getCurrentTemplate
in interface TransformState
TransformState.getCurrentTemplate()
public ElemTemplate getMatchedTemplate()
TransformState
Please note that the ElemTemplate returned may be a default template, and thus may not have a template defined in the stylesheet.
getMatchedTemplate
in interface TransformState
TransformState.getMatchedTemplate()
public org.w3c.dom.Node getMatchedNode()
TransformState
getMatchedNode
in interface TransformState
TransformState.getMatchedNode()
public org.w3c.dom.traversal.NodeIterator getContextNodeList()
TransformState
getContextNodeList
in interface TransformState
TransformState.getContextNodeList()
public javax.xml.transform.Transformer getTransformer()
TransformState
getTransformer
in interface TransformState
TransformState.getTransformer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |