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  

ElemLiteralResult Class Reference

#include <ElemLiteralResult.hpp>

Inheritance diagram for ElemLiteralResult:

ElemUse ElemTemplateElement XalanElement PrefixResolver XalanNode ElemExtensionCall Collaboration diagram for ElemLiteralResult:

List of all members.

Public Types

Public Methods


Detailed Description


Member Typedef Documentation

typedef std::vector<const AVT*> ElemLiteralResult::AVTVectorType


Constructor & Destructor Documentation

ElemLiteralResult::ElemLiteralResult ( StylesheetConstructionContext & constructionContext,
Stylesheet & stylesheetTree,
const XalanDOMString & name,
const AttributeList & atts,
int lineNumber,
int columnNumber,
int xslToken = Constants::ELEMNAME_LITERALRESULT)

Construct an object corresponding to a literal result element.

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 ElemLiteralResult::~ElemLiteralResult () [virtual]


Member Function Documentation

virtual void ElemLiteralResult::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 ElemUse.

Reimplemented in ElemExtensionCall.

virtual const NamespacesHandler& ElemLiteralResult::getNamespacesHandler () const [virtual]

Get the namespaces handler for this element.

Returns:
The element's NamespacesHandler instance.

Reimplemented from ElemTemplateElement.

virtual bool ElemLiteralResult::isAttrOK ( const XalanDOMChar * attrName,
const AttributeList & atts,
int which,
StylesheetConstructionContext & constructionContext) const [virtual]

See if this is a xmlns attribute or in a non-XSLT.

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 namespace name

Reimplemented from ElemTemplateElement.

virtual bool ElemLiteralResult::isAttrOK ( int tok,
const XalanDOMChar * attrName,
const AttributeList & atts,
int which) const [virtual]

See if this is a xmlns 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 namespace name

Reimplemented from ElemTemplateElement.

virtual void ElemLiteralResult::postConstruction ( const NamespacesHandler & theParentHandler) [virtual]

Called after construction is completed.

Reimplemented from ElemTemplateElement.


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.