Xalan-C++ API Reference 1.12.0
xalanc::XalanNamespace Class Reference

#include <xalanc/PlatformSupport/XalanNamespace.hpp>

Public Member Functions

 XalanNamespace (MemoryManager &theManager)
 
 XalanNamespace (const XalanDOMString &thePrefix, const XalanDOMString &theURI, MemoryManager &theManager)
 Construct a namespace for placement on the result tree namespace stack.
 
 XalanNamespace (const XalanNamespace &other, MemoryManager &theManager)
 
 ~XalanNamespace ()
 
const XalanDOMStringgetPrefix () const
 Retrieve the thePrefix for namespace.
 
void setPrefix (const XalanDOMString &thePrefix)
 Set the thePrefix for namespace.
 
const XalanDOMStringgetURI () const
 Retrieve the URI for namespace.
 
void setURI (const XalanDOMString &theURI)
 Set the URI for namespace.
 
void setURI (const XalanDOMChar *theURI)
 Set the URI for namespace.
 
void setURI (const XalanDOMChar *theURI, XalanDOMString::size_type len)
 Set the URI for namespace.
 
bool empty () const
 
void clear ()
 
bool operator== (const XalanNamespace &theRHS) const
 Equality operator.
 

Detailed Description

Definition at line 36 of file XalanNamespace.hpp.

Constructor & Destructor Documentation

◆ XalanNamespace() [1/3]

xalanc::XalanNamespace::XalanNamespace ( MemoryManager & theManager)
inlineexplicit

Definition at line 41 of file XalanNamespace.hpp.

Referenced by operator==(), and XalanNamespace().

◆ XalanNamespace() [2/3]

xalanc::XalanNamespace::XalanNamespace ( const XalanDOMString & thePrefix,
const XalanDOMString & theURI,
MemoryManager & theManager )
inline

Construct a namespace for placement on the result tree namespace stack.

Parameters
thePrefixnamespace thePrefix
theURIURI of namespace

Definition at line 54 of file XalanNamespace.hpp.

◆ XalanNamespace() [3/3]

xalanc::XalanNamespace::XalanNamespace ( const XalanNamespace & other,
MemoryManager & theManager )
inline

Definition at line 63 of file XalanNamespace.hpp.

References XalanNamespace().

◆ ~XalanNamespace()

xalanc::XalanNamespace::~XalanNamespace ( )
inline

Definition at line 71 of file XalanNamespace.hpp.

Member Function Documentation

◆ clear()

void xalanc::XalanNamespace::clear ( )
inline

Definition at line 155 of file XalanNamespace.hpp.

◆ empty()

bool xalanc::XalanNamespace::empty ( ) const
inline

Definition at line 149 of file XalanNamespace.hpp.

◆ getPrefix()

const XalanDOMString & xalanc::XalanNamespace::getPrefix ( ) const
inline

◆ getURI()

const XalanDOMString & xalanc::XalanNamespace::getURI ( ) const
inline

◆ operator==()

bool xalanc::XalanNamespace::operator== ( const XalanNamespace & theRHS) const
inline

Equality operator.

Parameters
theRHSnamespace to compare

Definition at line 168 of file XalanNamespace.hpp.

References xalanc::equals(), and XalanNamespace().

◆ setPrefix()

void xalanc::XalanNamespace::setPrefix ( const XalanDOMString & thePrefix)
inline

Set the thePrefix for namespace.

Parameters
thePrefixThe new thePrefix value

Definition at line 92 of file XalanNamespace.hpp.

◆ setURI() [1/3]

void xalanc::XalanNamespace::setURI ( const XalanDOMChar * theURI)
inline

Set the URI for namespace.

Parameters
theURIThe new theURI value

Definition at line 125 of file XalanNamespace.hpp.

◆ setURI() [2/3]

void xalanc::XalanNamespace::setURI ( const XalanDOMChar * theURI,
XalanDOMString::size_type len )
inline

Set the URI for namespace.

Parameters
theURIThe new theURI value
lenThe length of the theURI

Definition at line 139 of file XalanNamespace.hpp.

◆ setURI() [3/3]

void xalanc::XalanNamespace::setURI ( const XalanDOMString & theURI)
inline

Set the URI for namespace.

Parameters
theURIThe new theURI value

Definition at line 114 of file XalanNamespace.hpp.


The documentation for this class was generated from the following file: