Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

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

List of all members.

Public Member Functions

Protected Member Functions


Constructor & Destructor Documentation

ElemLiteralResult::ElemLiteralResult ( StylesheetConstructionContext constructionContext,
Stylesheet stylesheetTree,
const XalanDOMChar *  name,
const AttributeListType atts,
int  lineNumber,
int  columnNumber 
)

Construct an object corresponding to a literal result element.

Parameters:
constructionContextcontext for construction of object
stylesheetTreestylesheet containing element
namename of element
attslist of attributes for element
lineNumberline number in document
columnNumbercolumn number in document
virtual ElemLiteralResult::~ElemLiteralResult ( ) [virtual]
ElemLiteralResult::ElemLiteralResult ( StylesheetConstructionContext constructionContext,
Stylesheet stylesheetTree,
const XalanDOMChar *  name,
const AttributeListType atts,
int  lineNumber,
int  columnNumber,
int  xslToken 
) [protected]

Construct an object corresponding to a literal result element.

Parameters:
constructionContextcontext for construction of object
stylesheetTreestylesheet containing element
namename of element
attslist of attributes for element
lineNumberline number in document
columnNumbercolumn number in document
xslTokenThe xsl token value for this class

Member Function Documentation

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

Reimplemented in ElemExtensionCall.

virtual void ElemLiteralResult::evaluateAVTs ( StylesheetExecutionContext executionContext) const [virtual]

Evalute the AVTs for this element.

Parameters:
executionContextcontext to execute this element

Reimplemented from ElemUse.

virtual const XalanDOMString& ElemLiteralResult::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.

Reimplemented from ElemUse.

void ElemLiteralResult::init ( StylesheetConstructionContext constructionContext,
Stylesheet stylesheetTree,
const XalanDOMChar *  name,
const AttributeListType atts 
) [protected]

Do common initialization.

Parameters:
constructionContextThe current onstruction context.
stylesheetTreeThe stylesheet containing the element.
nameThe name of the element.
attsThe list of attributes for the element.
virtual bool ElemLiteralResult::isAttrOK ( const XalanDOMChar *  attrName,
const AttributeListType atts,
int  which,
StylesheetConstructionContext constructionContext 
) const [virtual]

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

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)
constructionContextThe current construction context
Returns:
true if this is a namespace name

Reimplemented from ElemTemplateElement.

virtual void ElemLiteralResult::namespacesPostConstruction ( StylesheetConstructionContext constructionContext,
const NamespacesHandler theParentHandler,
NamespacesHandler theHandler 
) [protected, virtual]

Called after construction is completed.

This is a hook for deriving classes to handle post-construction with the instances HamespaceHandler instance, which is otherwise only available through a const accessor.

Reimplemented from ElemTemplateElement.

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

Called after construction is completed.

Reimplemented from ElemUse.

virtual const ElemTemplateElement* ElemLiteralResult::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 ElemUse.

Reimplemented in ElemExtensionCall.


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