Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Member Functions | Static Public Member Functions | List of all members
NameSpace Class Reference

A representation of a namespace. More...

#include <NameSpace.hpp>

Public Member Functions

 NameSpace (MemoryManager &theManager)
 
 NameSpace (const XalanDOMString &prefix, const XalanDOMString &uri, MemoryManager &theManager)
 Construct a namespace for placement on the result tree namespace stack. More...
 
 NameSpace (const NameSpace &other, MemoryManager &theManager)
 
 ~NameSpace ()
 
const XalanDOMString & getPrefix () const
 Retrieve the prefix for namespace. More...
 
void setPrefix (const XalanDOMString &prefix)
 Set the prefix for namespace. More...
 
const XalanDOMString & getURI () const
 Retrieve the URI for namespace. More...
 
void setURI (const XalanDOMString &uri)
 Set the URI for namespace. More...
 
void setURI (const XalanDOMChar *uri)
 Set the URI for namespace. More...
 
void setURI (const XalanDOMChar *uri, XalanDOMString::size_type len)
 Set the URI for namespace. More...
 
bool empty () const
 
void clear ()
 
bool operator== (const NameSpace &theRHS) const
 Equality operator. More...
 

Static Public Member Functions

static NameSpace * create (const XalanDOMString &prefix, const XalanDOMString &uri, MemoryManager &theManager)
 

Detailed Description

A representation of a namespace.

One of these will be pushed on the namespace stack for each element.

Definition at line 40 of file NameSpace.hpp.

Constructor & Destructor Documentation

◆ NameSpace() [1/3]

NameSpace::NameSpace ( MemoryManager &  theManager)
inlineexplicit

Definition at line 45 of file NameSpace.hpp.

◆ NameSpace() [2/3]

NameSpace::NameSpace ( const XalanDOMString &  prefix,
const XalanDOMString &  uri,
MemoryManager &  theManager 
)
inline

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

Parameters
prefixnamespace prefix
uriURI of namespace

Definition at line 58 of file NameSpace.hpp.

◆ NameSpace() [3/3]

NameSpace::NameSpace ( const NameSpace &  other,
MemoryManager &  theManager 
)
inline

Definition at line 88 of file NameSpace.hpp.

◆ ~NameSpace()

NameSpace::~NameSpace ( )
inline

Definition at line 96 of file NameSpace.hpp.

Member Function Documentation

◆ clear()

void NameSpace::clear ( )
inline

Definition at line 180 of file NameSpace.hpp.

◆ create()

static NameSpace* NameSpace::create ( const XalanDOMString &  prefix,
const XalanDOMString &  uri,
MemoryManager &  theManager 
)
inlinestatic

Definition at line 68 of file NameSpace.hpp.

◆ empty()

bool NameSpace::empty ( ) const
inline

Definition at line 174 of file NameSpace.hpp.

◆ getPrefix()

const XalanDOMString& NameSpace::getPrefix ( ) const
inline

Retrieve the prefix for namespace.

Returns
prefix string

Definition at line 106 of file NameSpace.hpp.

◆ getURI()

const XalanDOMString& NameSpace::getURI ( ) const
inline

Retrieve the URI for namespace.

Returns
URI string

Definition at line 128 of file NameSpace.hpp.

◆ operator==()

bool NameSpace::operator== ( const NameSpace &  theRHS) const
inline

Equality operator.

Parameters
theRHSnamespace to compare

Definition at line 193 of file NameSpace.hpp.

◆ setPrefix()

void NameSpace::setPrefix ( const XalanDOMString &  prefix)
inline

Set the prefix for namespace.

Parameters
prefixThe new prefix value

Definition at line 117 of file NameSpace.hpp.

◆ setURI() [1/3]

void NameSpace::setURI ( const XalanDOMChar *  uri)
inline

Set the URI for namespace.

Parameters
uriThe new uri value

Definition at line 150 of file NameSpace.hpp.

◆ setURI() [2/3]

void NameSpace::setURI ( const XalanDOMChar *  uri,
XalanDOMString::size_type  len 
)
inline

Set the URI for namespace.

Parameters
uriThe new uri value
lenThe length of the uri

Definition at line 164 of file NameSpace.hpp.

◆ setURI() [3/3]

void NameSpace::setURI ( const XalanDOMString &  uri)
inline

Set the URI for namespace.

Parameters
uriThe new uri value

Definition at line 139 of file NameSpace.hpp.


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

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.

Apache Logo