Xalan-C++ API Documentation

The Xalan-C++ XSL Transformer Version 1.0

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ElemUse Class Reference

#include <ElemUse.hpp>

Inheritance diagram for ElemUse:

ElemTemplateElement XalanElement PrefixResolver XalanNode ElemAttributeSet ElemCopy ElemElement ElemLiteralResult ElemExtensionCall Collaboration diagram for ElemUse:

List of all members.

Public Methods


Detailed Description


Constructor & Destructor Documentation

ElemUse::ElemUse ( StylesheetConstructionContext & constructionContext,
Stylesheet & stylesheetTree,
const XalanDOMString & name,
int lineNumber,
int columnNumber,
int xslToken = Constants::ELEMNAME_USE)

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
name   name of 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::execute ( StylesheetExecutionContext & executionContext,
XalanNode * sourceTree,
XalanNode * sourceNode,
const QName & mode) 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
sourceTree   input source tree
sourceNode   current context node
mode   current mode

Reimplemented from ElemTemplateElement.

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

bool ElemUse::processUseAttributeSets ( StylesheetConstructionContext & constructionContext,
const XalanDOMString & attrName,
const AttributeList & 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++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.