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  

ElemTextLiteral Class Reference

#include <ElemTextLiteral.hpp>

Inheritance diagram for ElemTextLiteral:

ElemTemplateElement XalanElement PrefixResolver XalanNode Collaboration diagram for ElemTextLiteral:

List of all members.

Public Types

Public Methods


Detailed Description


Member Typedef Documentation

typedef std::vector<XalanDOMChar> ElemTextLiteral::XMLChVectorType


Constructor & Destructor Documentation

ElemTextLiteral::ElemTextLiteral ( StylesheetConstructionContext & constructionContext,
Stylesheet & stylesheetTree,
int lineNumber,
int columnNumber,
const XalanDOMChar * ch,
int start,
int 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,
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.

const XMLChVectorType & ElemTextLiteral::getText () const

bool ElemTextLiteral::isPreserveSpace () const

Determine if whitespace should be preserved within the element.

Returns:
true if whitespace should be preserved

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.