An default implementation of an abtract class which provides support for constructing the internal representation of an XPath. More...
#include <XPathConstructionContextDefault.hpp>
Inherits XPathConstructionContext.
An default implementation of an abtract class which provides support for constructing the internal representation of an XPath.
Definition at line 48 of file XPathConstructionContextDefault.hpp.
XPathConstructionContextDefault::XPathConstructionContextDefault | ( | MemoryManager & | theManager = XalanMemMgrs::getDefaultXercesMemMgr() |
) |
virtual XPathConstructionContextDefault::~XPathConstructionContextDefault | ( | ) | [virtual] |
static XPathConstructionContextDefault* XPathConstructionContextDefault::create | ( | MemoryManager & | theManager | ) | [static] |
virtual XalanDOMString& XPathConstructionContextDefault::getCachedString | ( | ) | [virtual] |
Get a cached string for temporary use.
Implements XPathConstructionContext.
virtual const XalanDOMString& XPathConstructionContextDefault::getPooledString | ( | const XalanDOMString & | theString | ) | [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.
theString | The source string |
Implements XPathConstructionContext.
virtual const XalanDOMString& XPathConstructionContextDefault::getPooledString | ( | const XalanDOMChar * | theString, | |
XalanDOMString::size_type | theLength = XalanDOMString::npos | |||
) | [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.
theString | The source character array | |
theLength | The length of the character array |
Implements XPathConstructionContext.
virtual void XPathConstructionContextDefault::problem | ( | eSource | source, | |
eClassification | classification, | |||
const XalanDOMString & | msg, | |||
const Locator * | locator, | |||
const XalanNode * | sourceNode | |||
) | [virtual] |
Function that is called when a problem event occurs.
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 XPathConstructionContext.
virtual void XPathConstructionContextDefault::problem | ( | eSource | source, | |
eClassification | classification, | |||
const XalanDOMString & | msg, | |||
const XalanNode * | sourceNode | |||
) | [virtual] |
Function that is called when a problem event occurs.
This version assumes location information is already formatted into the message.
source | either eXMLPARSER, eXSLPROCESSOR, or eXPATH | |
classification | either eMESSAGE, eERROR or eWARNING | |
msg | string message explaining the problem. |
Implements XPathConstructionContext.
virtual bool XPathConstructionContextDefault::releaseCachedString | ( | XalanDOMString & | theString | ) | [virtual] |
Return a cached string.
theString | The string to release. |
Implements XPathConstructionContext.
virtual void XPathConstructionContextDefault::reset | ( | ) | [virtual] |
Reset the instance.
Any existing objects created by the instance will be destroyed.
Implements XPathConstructionContext.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|