org.apache.xalan.trace

Class SelectionEvent

public class SelectionEvent extends Object implements EventListener

Event triggered by selection of a node in the style stree.

UNKNOWN: advanced

Field Summary
Stringm_attributeName
The attribute name from which the selection is made.
TransformerImplm_processor
The XSLT processor instance.
XObjectm_selection
The result of the selection.
Nodem_sourceNode
The current context node.
ElemTemplateElementm_styleNode
The node in the style tree where the event occurs.
XPathm_xpath
The XPath that executed the selection.
Constructor Summary
SelectionEvent(TransformerImpl processor, Node sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection)
Create an event originating at the given node of the style tree.

Field Detail

m_attributeName

public final String m_attributeName
The attribute name from which the selection is made.

m_processor

public final TransformerImpl m_processor
The XSLT processor instance.

m_selection

public final XObject m_selection
The result of the selection.

m_sourceNode

public final Node m_sourceNode
The current context node.

m_styleNode

public final ElemTemplateElement m_styleNode
The node in the style tree where the event occurs.

m_xpath

public final XPath m_xpath
The XPath that executed the selection.

Constructor Detail

SelectionEvent

public SelectionEvent(TransformerImpl processor, Node sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection)
Create an event originating at the given node of the style tree.

Parameters: processor The XSLT TransformerFactory. sourceNode The current context node. styleNode node in the style tree reference for the event. Should not be null. That is not enforced. attributeName The attribute name from which the selection is made. xpath The XPath that executed the selection. selection The result of the selection.

Copyright B) 2005 Apache XML Project. All Rights Reserved.