Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11

Public Member Functions

ElemTextLiteral Class Reference

#include <ElemTextLiteral.hpp>

Inherits ElemTemplateElement.

Collaboration diagram for ElemTextLiteral:
Collaboration graph

List of all members.

Public Member Functions

Detailed Description

Definition at line 40 of file ElemTextLiteral.hpp.

Constructor & Destructor Documentation

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

Construct an object corresponding to literal text element.

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
fPreserveSpace true is space should be preserved
fDisableOutputEscaping true 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.

A string containing the name of the element.

Implements ElemTemplateElement.

XalanDOMString::size_type ElemTextLiteral::getLength (  )  const [inline]

Definition at line 89 of file ElemTextLiteral.hpp.

const XalanDOMChar* ElemTextLiteral::getText (  )  const [inline]

Definition at line 83 of file ElemTextLiteral.hpp.

bool ElemTextLiteral::isPreserveSpace (  )  const [inline]

Determine if whitespace should be preserved within the element.

true if whitespace should be preserved

Definition at line 77 of file ElemTextLiteral.hpp.

virtual bool ElemTextLiteral::isWhitespace (  )  const [virtual]

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

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.

executionContext context 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.

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

Apache Logo