public class SelectionEvent extends Object implements EventListener
Modifier and Type | Field and Description |
---|---|
String |
m_attributeName
The attribute name from which the selection is made.
|
TransformerImpl |
m_processor
The XSLT processor instance.
|
XObject |
m_selection
The result of the selection.
|
Node |
m_sourceNode
The current context node.
|
ElemTemplateElement |
m_styleNode
The node in the style tree where the event occurs.
|
XPath |
m_xpath
The XPath that executed the selection.
|
Constructor and Description |
---|
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.
|
public final ElemTemplateElement m_styleNode
public final TransformerImpl m_processor
public final Node m_sourceNode
public final String m_attributeName
public final XPath m_xpath
public final XObject m_selection
public SelectionEvent(TransformerImpl processor, Node sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection)
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 © 2012 JBoss by Red Hat. All Rights Reserved.