Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XPath/XStringCached.hpp>
Public Types | |
typedef XStringBase | ParentType |
![]() | |
typedef XObject | ParentType |
![]() | |
enum | eObjectType { eTypeNull = 0 , eTypeUnknown = 1 , eTypeBoolean = 2 , eTypeNumber = 3 , eTypeString = 4 , eTypeNodeSet = 5 , eTypeResultTreeFrag = 6 , eTypeUserDefined = 7 , eTypeStringReference = 8 , eTypeStringAdapter = 9 , eTypeStringCached = 10 , eTypeXTokenNumberAdapter = 11 , eTypeXTokenStringAdapter = 12 , eTypeNodeSetNodeProxy = 13 , eUnknown } |
Enumeration of possible object types. More... | |
typedef XPathExecutionContext::GetCachedString | GetCachedString |
typedef void(FormatterListener::* | MemberFunctionPtr) (const XMLCh *const, const FormatterListener::size_type) |
Public Member Functions | |
XStringCached (GetCachedString &val, MemoryManager &theManager) | |
Create a string XObject from a cached string. | |
XStringCached (const XStringCached &source, MemoryManager &theManager) | |
virtual | ~XStringCached () |
virtual const XalanDOMString & | str (XPathExecutionContext &executionContext) const |
Cast result object to a string. | |
virtual const XalanDOMString & | str () const |
Cast result object to a string. | |
virtual void | str (XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const |
Send the string value to a FormatterListener instance. | |
virtual void | str (FormatterListener &formatterListener, MemberFunctionPtr function) const |
Send the string value to a FormatterListener instance. | |
virtual void | str (XPathExecutionContext &executionContext, XalanDOMString &theBuffer) const |
Append the string value directly a string. | |
virtual void | str (XalanDOMString &theBuffer) const |
Append the string value directly a string. | |
virtual double | stringLength (XPathExecutionContext &executionContext) const |
Get the length of the string value of the instance. | |
![]() | |
XStringBase (MemoryManager &theMemoryManager) | |
Construct an XStringBase object. | |
XStringBase (MemoryManager &theMemoryManager, XPathExecutionContext &theExecutionContext) | |
Construct an XStringBase object. | |
XStringBase (const XStringBase &source, MemoryManager &theMemoryManager) | |
Construct an XStringBase object from another. | |
virtual | ~XStringBase () |
virtual const XalanDOMString & | getTypeString () const |
Given a request type, return the equivalent string. | |
virtual double | num (XPathExecutionContext &executionContext) const |
Cast result object to a number. | |
virtual bool | boolean (XPathExecutionContext &executionContext) const |
Cast result object to a boolean. | |
virtual const XalanDocumentFragment & | rtree () const |
Cast result object to a result tree fragment. | |
virtual void | ProcessXObjectTypeCallback (XObjectTypeCallback &theCallbackObject) |
Process a callback request for preferred type information. | |
virtual void | ProcessXObjectTypeCallback (XObjectTypeCallback &theCallbackObject) const |
Process a callback request for preferred type information. | |
virtual double | num () const |
Cast result object to a number. | |
![]() | |
XObject (eObjectType theObjectType, MemoryManager &theMemoryManager) | |
Create an XObject. | |
virtual const NodeRefListBase & | nodeset () const |
Cast result object to a nodelist. | |
bool | equals (const XObject &theRHS, XPathExecutionContext &executionContext) const |
Tell if two objects are functionally equal. | |
bool | notEquals (const XObject &theRHS, XPathExecutionContext &executionContext) const |
Tell if two objects are functionally not equal. | |
bool | lessThan (const XObject &theRHS, XPathExecutionContext &executionContext) const |
Tell if one object is less than the other. | |
bool | lessThanOrEquals (const XObject &theRHS, XPathExecutionContext &executionContext) const |
Tell if one object is less than or equal the other. | |
bool | greaterThan (const XObject &theRHS, XPathExecutionContext &executionContext) const |
Tell if one object is greater than the other. | |
bool | greaterThanOrEquals (const XObject &theRHS, XPathExecutionContext &executionContext) const |
Tell if one object is greater than or equal the other. | |
eObjectType | getType () const |
Tell what kind of class this is. | |
void | setFactory (XObjectFactory *theFactory) |
Protected Member Functions | |
virtual eObjectType | getRealType () const |
Tell what kind of class this is. | |
![]() | |
XObject (const XObject &) | |
Create an XObject from another XObject. | |
XObject (const XObject &source, MemoryManager &theManager) | |
Create an XObject from another XObject. | |
MemoryManager & | getMemoryManager () const |
Get the MemoryManager for this instance. | |
void | throwInvalidConversionException (const XalanDOMString &theTargetType) const |
virtual void | referenced () |
virtual void | dereferenced () |
virtual | ~XObject () |
![]() | |
XalanReferenceCountedObject () | |
Create a XalanReferenceCountedObject. | |
virtual | ~XalanReferenceCountedObject () |
virtual XalanSize_t | getReferenceCount () const |
Additional Inherited Members | |
![]() | |
static void | initialize (MemoryManager &theMemoryManager) |
Perform static initialization. | |
static void | terminate () |
Perform static shut down. | |
static bool | boolean (double theNumber) |
Static conversion function. | |
static bool | boolean (const XalanDOMString &theString) |
Static conversion function. | |
static bool | boolean (const NodeRefListBase &theNodeList) |
Static conversion function. | |
static const XalanDOMString & | string (bool theBool) |
Static conversion function. | |
static void | string (bool theBool, XalanDOMString &theString) |
Static conversion function. | |
static void | string (bool theBool, FormatterListener &formatterListener, MemberFunctionPtr function) |
Static conversion function. | |
static void | string (double theNumber, XalanDOMString &theString) |
Static conversion function. | |
static void | string (double theNumber, FormatterListener &formatterListener, MemberFunctionPtr function) |
Static conversion function. | |
static void | string (const XalanNode &theNode, XalanDOMString &theString) |
Static conversion function. | |
static void | string (const XalanNode &theNode, FormatterListener &formatterListener, MemberFunctionPtr function) |
Static conversion function. | |
static void | string (const NodeRefListBase &theNodeList, XalanDOMString &theString) |
Static conversion function. | |
static void | string (const NodeRefListBase &theNodeList, FormatterListener &formatterListener, MemberFunctionPtr function) |
Static conversion function. | |
static void | string (const XalanNode &theNode, XPathExecutionContext &theExecutionContext, XalanDOMString &theString) |
Static conversion function. | |
static void | string (const XalanNode &theNode, XPathExecutionContext &theExecutionContext, FormatterListener &formatterListener, MemberFunctionPtr function) |
Static conversion function. | |
static void | string (const NodeRefListBase &theNodeList, XPathExecutionContext &theExecutionContext, XalanDOMString &theString) |
Static conversion function. | |
static void | string (const NodeRefListBase &theNodeList, XPathExecutionContext &theExecutionContext, FormatterListener &formatterListener, MemberFunctionPtr function) |
Static conversion function. | |
static void | string (const XalanDOMString &theString, FormatterListener &formatterListener, MemberFunctionPtr function) |
Calls the supplied FormatterListener member function with the string. | |
static double | number (bool theBoolean) |
Static conversion function. | |
static double | number (const XalanDOMString &theString, MemoryManager &theManager) |
static double | number (XPathExecutionContext &executionContext, const NodeRefListBase &theNodeList) |
Static conversion function. | |
static double | number (XPathExecutionContext &executionContext, const XalanNode &theNode) |
Static conversion function. | |
![]() | |
static void | addReference (XalanReferenceCountedObject *theInstance) |
Increment reference count. | |
static void | removeReference (XalanReferenceCountedObject *theInstance) |
Decrement reference count. | |
![]() | |
static const XalanDOMString | s_emptyString |
static const XalanDOMString & | s_booleanString |
static const XalanDOMString & | s_falseString |
static const XalanDOMString & | s_nodesetString |
static const XalanDOMString & | s_numberString |
static const XalanDOMString & | s_resultTreeFragmentString |
static const XalanDOMString & | s_stringString |
static const XalanDOMString & | s_trueString |
Definition at line 41 of file XStringCached.hpp.
Definition at line 45 of file XStringCached.hpp.
xalanc::XStringCached::XStringCached | ( | GetCachedString & | val, |
MemoryManager & | theManager ) |
Create a string XObject from a cached string.
theValue | value used to create object |
Referenced by getRealType(), and XStringCached().
xalanc::XStringCached::XStringCached | ( | const XStringCached & | source, |
MemoryManager & | theManager ) |
References XStringCached().
|
virtual |
|
protectedvirtual |
Tell what kind of class this is.
Reimplemented from xalanc::XObject.
References XStringCached().
|
virtual |
Cast result object to a string.
This function does not have access to the current XPathExecutionContext, so the result may contain data from whitespace text nodes that might have been stripped otherwise.
executionContext | The current XPathExecutionContext |
Implements xalanc::XStringBase.
|
virtual |
Send the string value to a FormatterListener instance.
This function does not have access to the current XPathExecutionContext, so the result may contain data from whitespace text nodes that might have been stripped otherwise.
formatterListener | The FormatterListener instance |
function | A pointer to the member function of FormatterListener to call |
Implements xalanc::XStringBase.
|
virtual |
Append the string value directly a string.
This function does not have access to the current XPathExecutionContext, so the result may contain data from whitespace text nodes that might have been stripped otherwise.
theBuffer | The buffer for the data |
Implements xalanc::XStringBase.
|
virtual |
Cast result object to a string.
executionContext | The current XPathExecutionContext |
Implements xalanc::XStringBase.
|
virtual |
Send the string value to a FormatterListener instance.
executionContext | The current XPathExecutionContext |
formatterListener | The FormatterListener instance |
function | A pointer to the member function of FormatterListener to call |
Implements xalanc::XStringBase.
|
virtual |
Append the string value directly a string.
executionContext | The current XPathExecutionContext |
theBuffer | The buffer for the data |
Implements xalanc::XStringBase.
|
virtual |
Get the length of the string value of the instance.
Implements xalanc::XStringBase.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sat May 17 2025 10:52:45 for Xalan-C++ API Reference by