org.apache.xalan.trace
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.
|
org.w3c.dom.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,
org.w3c.dom.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(org.w3c.dom.Node n)
Returns a string representation of the node.
|
static java.lang.String |
printNodeList(org.w3c.dom.NodeList l)
Returns a string representation of the node list.
|
public final ElemTemplateElement m_styleNode
public final TransformerImpl m_processor
public final org.w3c.dom.Node m_sourceNode
public final QName m_mode
public TracerEvent(TransformerImpl processor, org.w3c.dom.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(org.w3c.dom.Node n)
n
- any DOM node. Must not be null.public static java.lang.String printNodeList(org.w3c.dom.NodeList l)
l
- any DOM node list. Must not be null.Copyright ? 2006 Apache XML Project. All Rights Reserved.