Xalan-C++ API Reference  1.12.0
Public Member Functions | List of all members
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. More...
 
 XalanNamespace (const XalanNamespace &other, MemoryManager &theManager)
 
 ~XalanNamespace ()
 
const XalanDOMStringgetPrefix () const
 Retrieve the thePrefix for namespace. More...
 
void setPrefix (const XalanDOMString &thePrefix)
 Set the thePrefix for namespace. More...
 
const XalanDOMStringgetURI () const
 Retrieve the URI for namespace. More...
 
void setURI (const XalanDOMString &theURI)
 Set the URI for namespace. More...
 
void setURI (const XalanDOMChar *theURI)
 Set the URI for namespace. More...
 
void setURI (const XalanDOMChar *theURI, XalanDOMString::size_type len)
 Set the URI for namespace. More...
 
bool empty () const
 
void clear ()
 
bool operator== (const XalanNamespace &theRHS) const
 Equality operator. More...
 

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.

◆ 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.

◆ ~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

Retrieve the thePrefix for namespace.

Returns
thePrefix string

Definition at line 81 of file XalanNamespace.hpp.

◆ getURI()

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

Retrieve the URI for namespace.

Returns
URI string

Definition at line 103 of file XalanNamespace.hpp.

◆ 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().

◆ 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: