Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

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:
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::doExecute StylesheetExecutionContext executionContext,
bool  applyAttributeSets
const [protected, virtual]
 

Execute and conditionally apply any attribute sets.

To be used by deriving classes who want ElemUse to do any default execution but skip applying attribute sets. Typically, this would be done when attempting to recover from an error.

Parameters:
executionContext The current execution context.
applyAttributeSets If true, attribute sets will be applied.

virtual void ElemUse::execute StylesheetExecutionContext executionContext  )  const [virtual]
 

Execute the element's primary function.

Subclasses of this function may recursively execute down the element tree.

Parameters:
executionContext The current execution context

Reimplemented from ElemTemplateElement.

Reimplemented in ElemAttributeSet, ElemCopy, ElemElement, ElemExtensionCall, and 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 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:
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


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.8
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.