Package org.apache.xalan.trace
Class SelectionEvent
java.lang.Object
org.apache.xalan.trace.SelectionEvent
- All Implemented Interfaces:
EventListener
- Direct Known Subclasses:
EndSelectionEvent
Event triggered by selection of a node in the style stree.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
The attribute name from which the selection is made.final TransformerImpl
The XSLT processor instance.final XObject
The result of the selection.final Node
The current context node.final ElemTemplateElement
The node in the style tree where the event occurs.final XPath
The XPath that executed the selection. -
Constructor Summary
ConstructorsConstructorDescriptionSelectionEvent
(TransformerImpl processor, Node sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection) Create an event originating at the given node of the style tree. -
Method Summary
-
Field Details
-
m_styleNode
The node in the style tree where the event occurs. -
m_processor
The XSLT processor instance. -
m_sourceNode
The current context node. -
m_attributeName
The attribute name from which the selection is made. -
m_xpath
The XPath that executed the selection. -
m_selection
The result of the selection.
-
-
Constructor Details
-
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.
-