|
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(NAMESPACE_HEADER_GUARD_1357924680)
19 #define NAMESPACE_HEADER_GUARD_1357924680
61 MemoryManager& theManager) :
62 m_prefix(prefix, theManager),
63 m_uri(uri, theManager)
71 MemoryManager& theManager)
77 ThisType*
const theResult =
78 new (theGuard.
get()) ThisType(
90 MemoryManager& theManager) :
91 m_prefix(other.m_prefix, theManager),
92 m_uri(other.m_uri, theManager)
165 const XalanDOMChar* uri,
170 m_uri.assign(uri, len);
176 return m_prefix.empty() && m_uri.empty();
195 return equals(m_prefix, theRHS.m_prefix) &&
196 equals(m_uri, theRHS.m_uri);
213 #endif // NAMESPACE_HEADER_GUARD_1357924680
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
void setURI(const XalanDOMString &uri)
Set the URI for namespace.
static NameSpace * create(const XalanDOMString &prefix, const XalanDOMString &uri, MemoryManager &theManager)
#define XALAN_USES_MEMORY_MANAGER(Type)
bool operator==(const NameSpace &theRHS) const
Equality operator.
void setURI(const XalanDOMChar *uri, XalanDOMString::size_type len)
Set the URI for namespace.
equals(const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, XalanDOMString::size_type theLength)
Compare the contents of two arrays for equality.
void setPrefix(const XalanDOMString &prefix)
Set the prefix for namespace.
#define XALAN_XPATH_EXPORT
NameSpace(MemoryManager &theManager)
const XalanDOMString & getPrefix() const
Retrieve the prefix for namespace.
void setURI(const XalanDOMChar *uri)
Set the URI for namespace.
NameSpace(const XalanDOMString &prefix, const XalanDOMString &uri, MemoryManager &theManager)
Construct a namespace for placement on the result tree namespace stack.
const XalanDOMString & getURI() const
Retrieve the URI for namespace.
A representation of a namespace.
NameSpace(const NameSpace &other, MemoryManager &theManager)