Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Public Types | Public Member Functions | Protected Member Functions
ElemUse Class Reference
Inheritance diagram for ElemUse:
ElemTemplateElement PrefixResolver ElemAttributeSet ElemCopy ElemElement ElemLiteralResult ElemExtensionCall

List of all members.

Public Types

Public Member Functions

Protected Member Functions


Member Typedef Documentation

typedef size_t ElemUse::size_type

Constructor & Destructor Documentation

ElemUse::ElemUse ( StylesheetConstructionContext constructionContext,
Stylesheet stylesheetTree,
int  lineNumber,
int  columnNumber,
int  xslToken 
)

Construct an object corresponding to an "use-attribute-sets" attribute.

This is a base class for "xsl:element," "xsl:copy" and "xsl:attribute-set" elements, which may specify attribute sets to use.

Parameters:
constructionContextcontext for construction of object
stylesheetTreestylesheet containing element
attslist of attributes for element
lineNumberline number in document
columnNumbercolumn number in document
virtual ElemUse::~ElemUse ( ) [virtual]

Member Function Documentation

virtual void ElemUse::endElement ( StylesheetExecutionContext executionContext) const [virtual]

Completes "post-processing" afer any sub-elements are invoked (i.e.

children, attribute sets and templates). If there are no sub-elements it does nothing

Parameters:
executionContextcontext to execute this element

Reimplemented from ElemTemplateElement.

Reimplemented in ElemAttributeSet, ElemCopy, ElemElement, ElemExtensionCall, and ElemLiteralResult.

virtual void ElemUse::evaluateAVTs ( StylesheetExecutionContext executionContext) const [protected, virtual]

Evalute the AVTs for this element.

Parameters:
executionContextcontext to execute this element

Reimplemented in ElemLiteralResult.

virtual const XalanDOMString& ElemUse::getElementName ( ) const [virtual]

Get a string for the name of the element.

Useful for debugging purposes, and error reporting.

Returns:
A string containing the name of the element.

Implements ElemTemplateElement.

Reimplemented in ElemAttributeSet, ElemCopy, ElemElement, and ElemLiteralResult.

virtual const ElemTemplateElement* ElemUse::getFirstChildElemToExecute ( StylesheetExecutionContext executionContext) const [virtual]

Returns the first sub-element (i.e.

children, attribute-sets, templates) to execute.

Parameters:
executionContextcontext to execute element
Returns:
first sub-element to execute, 0 only if no sub-elements to execute

Reimplemented from ElemTemplateElement.

const ElemTemplateElement* ElemUse::getNextAttributeSet ( StylesheetExecutionContext executionContext) const [protected]

Get the next attribute set to execute.

Parameters:
executionContextcontext to execute this element
Returns:
a pointer to the attribute set element, 0 if no more attribute sets
virtual const ElemTemplateElement* ElemUse::getNextChildElemToExecute ( StylesheetExecutionContext executionContext,
const ElemTemplateElement currentElem 
) const [virtual]

Returns the next sub-element (i.e.

children, attribute-sets, templates) to execute.

Parameters:
executionContextcontext to execute element
currentElemthe last sub-element to be executed
Returns:
next sub-element to execute, 0 only if no more sub-elements to execute

Reimplemented from ElemTemplateElement.

virtual void ElemUse::postConstruction ( StylesheetConstructionContext constructionContext,
const NamespacesHandler theParentHandler 
) [virtual]

Called after construction is completed.

Reimplemented from ElemTemplateElement.

Reimplemented in ElemLiteralResult.

bool ElemUse::processUseAttributeSets ( StylesheetConstructionContext constructionContext,
const XalanDOMChar *  attrName,
const AttributeListType atts,
int  which 
)

See if this is a use-attribute-sets attribute, and, if so, process it.

Parameters:
attrNamequalified name of attribute
attsattribute list where the element comes from (not used at this time)
whichindex into the attribute list (not used at this time)
Returns:
true if this is a use-attribute-sets attribute
virtual const ElemTemplateElement* ElemUse::startElement ( StylesheetExecutionContext executionContext) const [virtual]

Completes "pre-processing" before any sub-elements are invoked (i.e.

children, attribute sets and templates). If there are no sub-elements it executes the primary function of the element.

Parameters:
executionContextcontext to execute this element

Reimplemented from ElemTemplateElement.

Reimplemented in ElemAttributeSet, ElemCopy, ElemElement, ElemExtensionCall, and ElemLiteralResult.


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