Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Protected Member Functions

ElemUse Class Reference

#include <ElemUse.hpp>

Inherits ElemTemplateElement.

Inherited by ElemAttributeSet, ElemCopy, ElemElement, and ElemLiteralResult.

Collaboration diagram for ElemUse:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions

Protected Member Functions


Detailed Description

Definition at line 37 of file ElemUse.hpp.


Member Typedef Documentation

typedef size_t ElemUse::size_type

Definition at line 44 of file ElemUse.hpp.


Constructor & Destructor Documentation

ElemUse::ElemUse ( StylesheetConstructionContext constructionContext,
Stylesheet stylesheetTree,
XalanFileLoc  lineNumber,
XalanFileLoc  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:
constructionContext context for construction of object
stylesheetTree stylesheet containing element
atts list of attributes for element
lineNumber line number in document
columnNumber column 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:
executionContext context 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:
executionContext context 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:
executionContext context 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:
executionContext context 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:
executionContext context to execute element
currentElem the 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,
XalanSize_t  which 
)

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

Parameters:
attrName qualified name of attribute
atts attribute list where the element comes from (not used at this time)
which index 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:
executionContext context 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.

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

Apache Logo