An default implementation of an abtract class which provides support for constructing the internal representation of an XPath. More...
Public Member Functions | |
XPathConstructionContextDefault (MemoryManagerType &theManager XALAN_DEFAULT_MEMMGR) | |
virtual | ~XPathConstructionContextDefault () |
virtual void | reset () |
Reset the instance. More... | |
virtual const XalanDOMString & | getPooledString (const XalanDOMString &theString) |
Get a pooled string given the source string. More... | |
virtual const XalanDOMString & | getPooledString (const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos) |
Get a pooled string given the source character array. More... | |
virtual XalanDOMString & | getCachedString () |
Get a cached string for temporary use. More... | |
virtual bool | releaseCachedString (XalanDOMString &theString) |
Return a cached string. More... | |
virtual void | error (const XalanDOMString &msg, const XalanNode *sourceNode, const LocatorType *locator) const |
virtual void | warn (const XalanDOMString &msg, const XalanNode *sourceNode, const LocatorType *locator) const |
![]() | |
XPathConstructionContext (MemoryManagerType &theManager) | |
virtual | ~XPathConstructionContext () |
MemoryManagerType & | getMemoryManager () |
virtual void | error (const XalanDOMString &msg, const XalanNode *sourceNode, const Locator *locator) const =0 |
virtual void | warn (const XalanDOMString &msg, const XalanNode *sourceNode, const Locator *locator) const =0 |
Static Public Member Functions | |
static XPathConstructionContextDefault * | create (MemoryManagerType &theManager) |
Additional Inherited Members | |
![]() | |
typedef GetAndReleaseCachedString | GetCachedString |
![]() | |
MemoryManagerType & | m_memoryManager |
An default implementation of an abtract class which provides support for constructing the internal representation of an XPath.
XPathConstructionContextDefault::XPathConstructionContextDefault | ( | MemoryManagerType &theManager | XALAN_DEFAULT_MEMMGR | ) |
|
virtual |
|
static |
|
virtual |
|
virtual |
Get a cached string for temporary use.
Implements XPathConstructionContext.
|
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 |
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 |
Return a cached string.
theString | The string to release. |
Implements XPathConstructionContext.
|
virtual |
Reset the instance.
Any existing objects created by the instance will be destroyed.
Implements XPathConstructionContext.
|
virtual |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|