public class TracerEvent
extends java.lang.Object
implements java.util.EventListener
Modifier and Type | Field and Description |
---|---|
QName |
m_mode
The current mode.
|
TransformerImpl |
m_processor
The XSLT processor instance.
|
Node |
m_sourceNode
The current context node.
|
ElemTemplateElement |
m_styleNode
The node in the style tree where the event occurs.
|
Constructor and Description |
---|
TracerEvent(TransformerImpl processor,
Node sourceNode,
QName mode,
ElemTemplateElement styleNode)
Create an event originating at the given node of the style tree.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
printNode(Node n)
Returns a string representation of the node.
|
static java.lang.String |
printNodeList(NodeList l)
Returns a string representation of the node list.
|
public final ElemTemplateElement m_styleNode
public final TransformerImpl m_processor
public final Node m_sourceNode
public final QName m_mode
public TracerEvent(TransformerImpl processor, Node sourceNode, QName mode, ElemTemplateElement styleNode)
processor
- The XSLT TransformerFactory.sourceNode
- The current context node.mode
- The current mode.styleNode
- The stylesheet element that is executing.public static java.lang.String printNode(Node n)
n
- any DOM node. Must not be null.public static java.lang.String printNodeList(NodeList l)
l
- any DOM node list. Must not be null.Copyright � 2014 Apache XML Project. All Rights Reserved.