Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.4

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

ElemTextLiteral Class Reference

#include <ElemTextLiteral.hpp>

Inheritance diagram for ElemTextLiteral:

ElemTemplateElement XalanElement PrefixResolver XalanNode Collaboration diagram for ElemTextLiteral:

List of all members.

Public Methods


Detailed Description


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 isCData,
bool preserveSpace,
bool disableOutputEscaping)

Construct an object corresponding to literal text element.

Parameters:
constructionContext   context for construction of object
stylesheetTree   stylesheet containing element
lineNumber   line number in document
columnNumber   column number in document
ch   pointer to character string for element
start   starting offset of element
length   number of characters in element
isCData   true if a CDATA element
preserveSpace   true is space should be preserved
disableOutputEscaping   true if output escaping should be disabled

virtual ElemTextLiteral::~ElemTextLiteral () [virtual]


Member Function Documentation

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

virtual const XalanDOMString& ElemTextLiteral::getElementName () const [virtual]

Reimplemented from ElemTemplateElement.

virtual const XalanDOMString& ElemTextLiteral::getNodeValue () const [virtual]

Gets the value of this node, depending on its type.

Reimplemented from ElemTemplateElement.

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


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.4
Copyright © 2000, 2001, 2002 The Apache Software Foundation. All Rights Reserved.