Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

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

XPathConstructionContext Class Reference

#include <XPathConstructionContext.hpp>

Inheritance diagram for XPathConstructionContext:

Inheritance graph
[legend]
List of all members.

Public Types

Public Methods

Public Attributes


Detailed Description

Author:
David N. Bertoni


Member Typedef Documentation

typedef GetAndReleaseCachedString XPathConstructionContext::GetCachedString
 


Constructor & Destructor Documentation

XPathConstructionContext::XPathConstructionContext ( MemoryManagerType & theManager )
 

XPathConstructionContext::~XPathConstructionContext ( ) [virtual]
 


Member Function Documentation

void XPathConstructionContext::error ( const XalanDOMString & msg,
const XalanNode * sourceNode,
const Locator * locator ) const [pure virtual]
 

XalanDOMString & XPathConstructionContext::getCachedString ( ) [pure virtual]
 

Get a cached string for temporary use.

Returns:
A reference to the string

Reimplemented in XPathConstructionContextDefault, StylesheetConstructionContext, and StylesheetConstructionContextDefault.

MemoryManagerType & XPathConstructionContext::getMemoryManager ( )
 

const XalanDOMString & XPathConstructionContext::getPooledString ( const XalanDOMChar * theString,
XalanDOMString::size_type theLength = XalanDOMString::npos ) [pure virtual]
 

Get a pooled string given the source character array.

If the string already exists in the pool, no copy will be made. If not, a copy will be made and kept for later use.

Parameters:
theString   The source character array
theLength   The length of the character array
Returns:
a const reference to a pooled string.

Reimplemented in XPathConstructionContextDefault, StylesheetConstructionContext, and StylesheetConstructionContextDefault.

const XalanDOMString & XPathConstructionContext::getPooledString ( const XalanDOMString & theString ) [pure virtual]
 

Get a pooled string given the source string.

If the string already exists in the pool, no copy will be made. If not, a copy will be made and kept for later use.

Parameters:
theString   The source string
Returns:
a const reference to a pooled string.

Reimplemented in XPathConstructionContextDefault, StylesheetConstructionContext, and StylesheetConstructionContextDefault.

bool XPathConstructionContext::releaseCachedString ( XalanDOMString & theString ) [pure virtual]
 

Return a cached string.

Parameters:
theString   The string to release.

Returns:
true if the string was released successfully.

Reimplemented in XPathConstructionContextDefault, StylesheetConstructionContext, and StylesheetConstructionContextDefault.

void XPathConstructionContext::reset ( ) [pure virtual]
 

Reset the instance.

Any existing objects created by the instance will be destroyed.

Reimplemented in XPathConstructionContextDefault, StylesheetConstructionContext, and StylesheetConstructionContextDefault.

void XPathConstructionContext::warn ( const XalanDOMString & msg,
const XalanNode * sourceNode,
const Locator * locator ) const [pure virtual]
 


Member Data Documentation

MemoryManagerType & XPathConstructionContext::m_memoryManager
 


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