Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Classes | Public Types | Public Member Functions

XPathConstructionContext Class Reference

#include <XPathConstructionContext.hpp>

Inherits ProblemListenerBase.

Inherited by StylesheetConstructionContext, and XPathConstructionContextDefault.

List of all members.

Classes

Public Types

Public Member Functions


Detailed Description

Definition at line 57 of file XPathConstructionContext.hpp.


Member Typedef Documentation

Definition at line 187 of file XPathConstructionContext.hpp.


Constructor & Destructor Documentation

XPathConstructionContext::XPathConstructionContext ( MemoryManager &  theManager  ) 
virtual XPathConstructionContext::~XPathConstructionContext (  )  [virtual]

Member Function Documentation

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

Get a cached string for temporary use.

Returns:
A reference to the string

Implemented in StylesheetConstructionContext, StylesheetConstructionContextDefault, and XPathConstructionContextDefault.

MemoryManager& XPathConstructionContext::getMemoryManager (  )  const [inline]

Definition at line 190 of file XPathConstructionContext.hpp.

MemoryManager& XPathConstructionContext::getMemoryManager (  )  [inline]

Definition at line 196 of file XPathConstructionContext.hpp.

virtual 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.

Implemented in StylesheetConstructionContext, StylesheetConstructionContextDefault, and XPathConstructionContextDefault.

virtual 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.

Implemented in StylesheetConstructionContext, StylesheetConstructionContextDefault, and XPathConstructionContextDefault.

virtual void XPathConstructionContext::problem ( eSource  source,
eClassification  classification,
const XalanDOMString msg,
const Locator *  locator,
const XalanNode sourceNode 
) [pure virtual]

Function that is called when a problem event occurs.

Parameters:
source Either eXMLParser, eXSLProcessor, or eXPATH.
classification Either eMessage, eWarning, or eError.
locator The current Locator instance for the stylesheet. Maybe be a null pointer.
sourceNode The current source node, if any.
msg The error message.

Implements ProblemListenerBase.

Implemented in StylesheetConstructionContext, StylesheetConstructionContextDefault, and XPathConstructionContextDefault.

virtual void XPathConstructionContext::problem ( eSource  source,
eClassification  classification,
const XalanDOMString msg,
const XalanNode sourceNode 
) [pure virtual]

Function that is called when a problem event occurs.

This version assumes location information is already formatted into the message.

Parameters:
source either eXMLPARSER, eXSLPROCESSOR, or eXPATH
classification either eMESSAGE, eERROR or eWARNING
msg string message explaining the problem.

Implements ProblemListenerBase.

Implemented in StylesheetConstructionContext, StylesheetConstructionContextDefault, and XPathConstructionContextDefault.

virtual 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.

Implemented in StylesheetConstructionContext, StylesheetConstructionContextDefault, and XPathConstructionContextDefault.

virtual void XPathConstructionContext::reset (  )  [pure virtual]

Reset the instance.

Any existing objects created by the instance will be destroyed.

Implemented in StylesheetConstructionContext, StylesheetConstructionContextDefault, and XPathConstructionContextDefault.


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