Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

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

A representation of a namespace. More...

Public Member Functions

 NameSpace (MemoryManagerType &theManager)
 
 NameSpace (const XalanDOMString &prefix, const XalanDOMString &uri, MemoryManagerType &theManager)
 Construct a namespace for placement on the result tree namespace stack. More...
 
 NameSpace (const NameSpace &other, MemoryManagerType &theManager)
 
 ~NameSpace ()
 
const XalanDOMStringgetPrefix () const
 Retrieve the prefix for namespace. More...
 
void setPrefix (const XalanDOMString &prefix)
 Set the prefix for namespace. More...
 
const XalanDOMStringgetURI () 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 NameSpacecreate (const XalanDOMString &prefix, const XalanDOMString &uri, MemoryManagerType &theManager)
 

Detailed Description

A representation of a namespace.

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

Constructor & Destructor Documentation

NameSpace::NameSpace ( MemoryManagerType theManager)
explicit
NameSpace::NameSpace ( const XalanDOMString prefix,
const XalanDOMString uri,
MemoryManagerType theManager 
)

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

Parameters
prefixnamespace prefix
uriURI of namespace
NameSpace::NameSpace ( const NameSpace other,
MemoryManagerType theManager 
)
NameSpace::~NameSpace ( )

Member Function Documentation

void NameSpace::clear ( )
static NameSpace* NameSpace::create ( const XalanDOMString prefix,
const XalanDOMString uri,
MemoryManagerType theManager 
)
static
bool NameSpace::empty ( ) const
const XalanDOMString& NameSpace::getPrefix ( ) const

Retrieve the prefix for namespace.

Returns
prefix string
const XalanDOMString& NameSpace::getURI ( ) const

Retrieve the URI for namespace.

Returns
URI string
bool NameSpace::operator== ( const NameSpace theRHS) const

Equality operator.

Parameters
theRHSnamespace to compare
void NameSpace::setPrefix ( const XalanDOMString prefix)

Set the prefix for namespace.

Parameters
prefixThe new prefix value
void NameSpace::setURI ( const XalanDOMString uri)

Set the URI for namespace.

Parameters
uriThe new uri value
void NameSpace::setURI ( const XalanDOMChar *  uri)

Set the URI for namespace.

Parameters
uriThe new uri value
void NameSpace::setURI ( const XalanDOMChar *  uri,
XalanDOMString::size_type  len 
)

Set the URI for namespace.

Parameters
uriThe new uri value
lenThe length of the uri

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.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo