Xalan-C++ API Documentation
Go to the documentation of this file.
18 #if !defined(XOBJECTFACTORY_HEADER_GUARD_1357924680)
19 #define XOBJECTFACTORY_HEADER_GUARD_1357924680
37 XALAN_CPP_NAMESPACE_BEGIN
71 return m_memoryManager;
83 return doReturnObject(theXObject);
167 const XalanDOMChar* theValue,
168 XalanSize_t theLength) = 0;
241 #if defined(XALAN_NO_STD_NAMESPACE)
251 bool fInReset =
false) :
252 m_factoryInstance(theFactoryInstance),
260 if (m_fInReset ==
true)
262 return m_factoryInstance.doReturnObject(
268 return m_factoryInstance.returnObject(theXObject);
276 const bool m_fInReset;
305 const_cast<XObject*
>(theXObject);
309 m_memoryManager.deallocate(nonConst);
323 bool fInReset =
false) = 0;
336 MemoryManager& m_memoryManager;
341 XALAN_CPP_NAMESPACE_END
345 #endif // XOBJECTFACTORY_HEADER_GUARD_1357924680
eObjectType
Enumeration of possible object types.
virtual const XObjectPtr createUnknown(const XalanDOMString &theValue)=0
Create an "unknown" XObject from a string.
virtual const XObjectPtr createNumber(double theValue)=0
Create a numeric XObject from a number.
virtual eObjectType getRealType() const
Tell what kind of class this is.
virtual const XObjectPtr createString(const XToken &theValue)=0
Create a string XObject from an XToken.
result_type operator()(argument_type theXObject) const
Class to hold XPath return types.
virtual void reset()=0
Reset the instance.
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
virtual const XObjectPtr createStringAdapter(const XObjectPtr &theValue, XPathExecutionContext &theExecutionContext)=0
Create a string XObject that will adapt another XObject to behave like a string.
XPathExecutionContext::BorrowReturnMutableNodeRefList BorrowReturnMutableNodeRefList
virtual const XObjectPtr createString(GetCachedString &theValue)=0
Create a string XObject from a cached XalanDOMString,.
virtual ~XObjectFactory()
#define XALAN_XPATH_EXPORT
XPathExecutionContext::GetCachedString GetAndReleaseCachedString
MemoryManager & getMemoryManager()
A public functor for use with stl algorithms.
virtual const XObjectPtr createString(const XalanDOMChar *theValue)=0
Create a string XObject from a null-terminated array of characters.
virtual const XObjectPtr createNodeSet(XalanNode *theValue)=0
Create a node set XObject from a node.
virtual const XObjectPtr createString(const XalanDOMChar *theValue, XalanSize_t theLength)=0
Create a string XObject from an array of characters.
virtual const XObjectPtr createNumber(const XToken &theValue)=0
Create a numeric XObject from an XToken.
virtual bool doReturnObject(XObject *theXObject, bool fInReset=false)=0
Return an XObject to the factory.
void deleteObject(const XObject *theXObject) const
Delete a FactoryObject instance.
This class handles the creation of XObjects and manages their lifetime.
virtual const XObjectPtr createBoolean(bool theValue)=0
Create a boolean XObject from a boolean value.
bool returnObject(XObject *theXObject)
Return an XObject to the factory.
XObject::eObjectType getRealType(const XObject &theXObject) const
Return the actual implementation type of an XObject.
Class to hold XObjectPtr return types.
Local implementation of NodeRefList.
DeleteXObjectFunctor(XObjectFactory &theFactoryInstance, bool fInReset=false)
virtual void holdReference(XObjectPtr theValue)=0
Hold a reference to an XObject instance until the factory is reset.
virtual const XObjectPtr createNodeSet(BorrowReturnMutableNodeRefList &theValue)=0
Create a node set XObject from a node list.
virtual const XObjectPtr createStringReference(const XalanDOMString &theValue)=0
Create a string XObject from a string.
XObjectFactory(MemoryManager &theManager)
virtual const XObjectPtr createString(const XalanDOMString &theValue)=0
Create a string XObject from a string.
Local implementation of MutableNodeRefList.
XPathExecutionContext::GetCachedString GetCachedString
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.
|
|