Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Public Member Functions
ElemTextLiteral Class Reference
Inheritance diagram for ElemTextLiteral:
ElemTemplateElement PrefixResolver

List of all members.

Public Member Functions


Constructor & Destructor Documentation

ElemTextLiteral::ElemTextLiteral ( StylesheetConstructionContext constructionContext,
Stylesheet stylesheetTree,
int  lineNumber,
int  columnNumber,
const XalanDOMChar *  ch,
XalanDOMString::size_type  start,
XalanDOMString::size_type  length,
bool  fPreserveSpace,
bool  fDisableOutputEscaping 
)

Construct an object corresponding to literal text element.

Parameters:
constructionContextcontext for construction of object
stylesheetTreestylesheet containing element
lineNumberline number in document
columnNumbercolumn number in document
chpointer to character string for element
startstarting offset of element
lengthnumber of characters in element
fPreserveSpacetrue is space should be preserved
fDisableOutputEscapingtrue if output escaping should be disabled
virtual ElemTextLiteral::~ElemTextLiteral ( ) [virtual]

Member Function Documentation

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

XalanDOMString::size_type ElemTextLiteral::getLength ( ) const
const XalanDOMChar* ElemTextLiteral::getText ( ) const
bool ElemTextLiteral::isPreserveSpace ( ) const

Determine if whitespace should be preserved within the element.

Returns:
true if whitespace should be preserved
virtual bool ElemTextLiteral::isWhitespace ( ) const [virtual]

Tell if the element will generate text which is XML whitespace.

Returns:
true if the text is pure whitespace

Reimplemented from ElemTemplateElement.

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

dot

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

Apache Logo