Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Public Types | Public Member Functions | Public Attributes | List of all members
SelectionEvent Class Reference

Public Types

enum  eSelectionType { eNone, eBoolean, eNodeSet, eUnknown }

Public Member Functions

 SelectionEvent (StylesheetExecutionContext &executionContext, const XalanNode *sourceNode, const ElemTemplateElement &styleNode, const XalanDOMString &attributeName, const XPath &xpath, const XObjectPtr selection)
 Create an event originating at the given node of the style tree.
 SelectionEvent (StylesheetExecutionContext &executionContext, const XalanNode *sourceNode, const ElemTemplateElement &styleNode, const XalanDOMString &attributeName, const XalanDOMString &xpathExpression, const XObjectPtr selection)
 Create an event originating at the given node of the style tree.
 SelectionEvent (StylesheetExecutionContext &executionContext, const XalanNode *sourceNode, const ElemTemplateElement &styleNode, const XalanDOMString &attributeName, const XPath &xpath, bool selection)
 Create an event originating at the given node of the style tree.
 SelectionEvent (StylesheetExecutionContext &executionContext, const XalanNode *sourceNode, const ElemTemplateElement &styleNode, const XalanDOMString &attributeName, const XPath &xpath, const NodeRefListBase &selection)
 Create an event originating at the given node of the style tree.
virtual ~SelectionEvent ()

Public Attributes

const StylesheetExecutionContextm_executionContext
 The executionContext instance.
const XalanNodem_sourceNode
 The current context node.
const ElemTemplateElementm_styleNode
 The node in the style tree where the event occurs.
const XalanDOMStringm_attributeName
 The attribute name from which the selection is made.
const XalanDOMStringm_xpathExpression
 The XPath expression evaluated.
const XObjectPtr m_selection
 The result of the selection.
const eSelectionType m_type
 The type of the selection.
bool m_boolean
const NodeRefListBase *const m_nodeList

Member Enumeration Documentation

Enumerator:
eNone 
eBoolean 
eNodeSet 
eUnknown 

Constructor & Destructor Documentation

SelectionEvent::SelectionEvent ( StylesheetExecutionContext executionContext,
const XalanNode sourceNode,
const ElemTemplateElement styleNode,
const XalanDOMString attributeName,
const XPath xpath,
const XObjectPtr  selection 
)

Create an event originating at the given node of the style tree.

Parameters
executionContextThe current execution context
sourceNodeThe source node selected.
styleNodeThe node in the style tree reference for the event
attributeNameThe attribute name where the XPath expression was supplied
xpathThe XPath instance executed
selectionThe result of evaluating the XPath
SelectionEvent::SelectionEvent ( StylesheetExecutionContext executionContext,
const XalanNode sourceNode,
const ElemTemplateElement styleNode,
const XalanDOMString attributeName,
const XalanDOMString xpathExpression,
const XObjectPtr  selection 
)

Create an event originating at the given node of the style tree.

Parameters
executionContextThe current execution context
sourceNodeThe source node selected.
styleNodeThe node in the style tree reference for the event
attributeNameThe attribute name where the XPath expression was supplied
xpathExpressionThe XPath expression executed
selectionThe result of evaluating the XPath
SelectionEvent::SelectionEvent ( StylesheetExecutionContext executionContext,
const XalanNode sourceNode,
const ElemTemplateElement styleNode,
const XalanDOMString attributeName,
const XPath xpath,
bool  selection 
)

Create an event originating at the given node of the style tree.

Parameters
executionContextThe current execution context
sourceNodeThe source node selected.
styleNodeThe node in the style tree reference for the event
attributeNameThe attribute name where the XPath expression was supplied
xpathThe XPath instance executed
selectionThe result of evaluating the XPath
SelectionEvent::SelectionEvent ( StylesheetExecutionContext executionContext,
const XalanNode sourceNode,
const ElemTemplateElement styleNode,
const XalanDOMString attributeName,
const XPath xpath,
const NodeRefListBase selection 
)

Create an event originating at the given node of the style tree.

Parameters
executionContextThe current execution context
sourceNodeThe source node selected.
styleNodeThe node in the style tree reference for the event
attributeNameThe attribute name where the XPath expression was supplied
xpathThe XPath instance executed
selectionThe result of evaluating the XPath
virtual SelectionEvent::~SelectionEvent ( )
virtual

Member Data Documentation

const XalanDOMString& SelectionEvent::m_attributeName

The attribute name from which the selection is made.

bool SelectionEvent::m_boolean
const StylesheetExecutionContext& SelectionEvent::m_executionContext

The executionContext instance.

const NodeRefListBase* const SelectionEvent::m_nodeList
const XObjectPtr SelectionEvent::m_selection

The result of the selection.

If it's null, m_sourceNode was selected, or some specific type was selected. See the above enums.

const XalanNode* SelectionEvent::m_sourceNode

The current context node.

const ElemTemplateElement& SelectionEvent::m_styleNode

The node in the style tree where the event occurs.

const eSelectionType SelectionEvent::m_type

The type of the selection.

const XalanDOMString& SelectionEvent::m_xpathExpression

The XPath expression evaluated.


The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo