Xalan-C++ API Reference  1.12.0
Classes | Public Types | Public Member Functions | List of all members
xalanc::XalanNamespacesStack Class Reference

#include <xalanc/DOMSupport/XalanNamespacesStack.hpp>

Classes

class  PrefixResolverProxy
 
class  XalanNamespacesStackEntry
 

Public Types

typedef XalanNamespacesStackEntry value_type
 
typedef XalanDeque< value_type, ConstructWithMemoryManagerTraits< value_type > > NamespacesStackType
 
typedef XalanVector< bool > BoolVectorType
 
typedef NamespacesStackType::iterator iterator
 
typedef NamespacesStackType::reverse_iterator reverse_iterator
 
typedef NamespacesStackType::const_iterator const_iterator
 
typedef NamespacesStackType::const_reverse_iterator const_reverse_iterator
 
typedef NamespacesStackType::size_type size_type
 
typedef const XalanDOMString *(value_type::* MemberFunctionType) (const XalanDOMString &) const
 

Public Member Functions

 XalanNamespacesStack (MemoryManager &theManager)
 
 ~XalanNamespacesStack ()
 
void addDeclaration (const XalanDOMString &thePrefix, const XalanDOMString &theURI)
 
void addDeclaration (const XalanDOMString &thePrefix, const XalanDOMChar *theURI)
 
void addDeclaration (const XalanDOMString &thePrefix, const XalanDOMChar *theURI, XalanDOMString::size_type theLength)
 
void pushContext ()
 
void popContext ()
 
const XalanDOMStringgetNamespaceForPrefix (const XalanDOMString &thePrefix) const
 
const XalanDOMStringgetPrefixForNamespace (const XalanDOMString &theURI) const
 
bool prefixIsPresentLocal (const XalanDOMString &thePrefix)
 See if the prefix has been mapped to a namespace in the current context, without looking down the stack of namespaces. More...
 
void clear ()
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
size_type size () const
 
bool empty () const
 

Detailed Description

Definition at line 45 of file XalanNamespacesStack.hpp.

Member Typedef Documentation

Definition at line 223 of file XalanNamespacesStack.hpp.

Definition at line 227 of file XalanNamespacesStack.hpp.

Definition at line 228 of file XalanNamespacesStack.hpp.

Definition at line 225 of file XalanNamespacesStack.hpp.

typedef const XalanDOMString*(value_type::* xalanc::XalanNamespacesStack::MemberFunctionType) (const XalanDOMString &) const

Definition at line 232 of file XalanNamespacesStack.hpp.

Definition at line 222 of file XalanNamespacesStack.hpp.

Definition at line 226 of file XalanNamespacesStack.hpp.

Definition at line 230 of file XalanNamespacesStack.hpp.

Definition at line 220 of file XalanNamespacesStack.hpp.

Constructor & Destructor Documentation

xalanc::XalanNamespacesStack::XalanNamespacesStack ( MemoryManager &  theManager)
explicit
xalanc::XalanNamespacesStack::~XalanNamespacesStack ( )

Member Function Documentation

void xalanc::XalanNamespacesStack::addDeclaration ( const XalanDOMString thePrefix,
const XalanDOMString theURI 
)
inline
void xalanc::XalanNamespacesStack::addDeclaration ( const XalanDOMString thePrefix,
const XalanDOMChar *  theURI 
)
inline

Definition at line 252 of file XalanNamespacesStack.hpp.

References xalanc::length().

void xalanc::XalanNamespacesStack::addDeclaration ( const XalanDOMString thePrefix,
const XalanDOMChar *  theURI,
XalanDOMString::size_type  theLength 
)
iterator xalanc::XalanNamespacesStack::begin ( )
inline

Definition at line 294 of file XalanNamespacesStack.hpp.

const_iterator xalanc::XalanNamespacesStack::begin ( ) const
inline

Definition at line 300 of file XalanNamespacesStack.hpp.

void xalanc::XalanNamespacesStack::clear ( )
bool xalanc::XalanNamespacesStack::empty ( ) const
inline

Definition at line 348 of file XalanNamespacesStack.hpp.

iterator xalanc::XalanNamespacesStack::end ( )
inline

Definition at line 306 of file XalanNamespacesStack.hpp.

const_iterator xalanc::XalanNamespacesStack::end ( ) const
inline

Definition at line 312 of file XalanNamespacesStack.hpp.

const XalanDOMString* xalanc::XalanNamespacesStack::getNamespaceForPrefix ( const XalanDOMString thePrefix) const
const XalanDOMString* xalanc::XalanNamespacesStack::getPrefixForNamespace ( const XalanDOMString theURI) const
inline

Definition at line 278 of file XalanNamespacesStack.hpp.

void xalanc::XalanNamespacesStack::popContext ( )
bool xalanc::XalanNamespacesStack::prefixIsPresentLocal ( const XalanDOMString thePrefix)

See if the prefix has been mapped to a namespace in the current context, without looking down the stack of namespaces.

void xalanc::XalanNamespacesStack::pushContext ( )
reverse_iterator xalanc::XalanNamespacesStack::rbegin ( )
inline

Definition at line 318 of file XalanNamespacesStack.hpp.

const_reverse_iterator xalanc::XalanNamespacesStack::rbegin ( ) const
inline

Definition at line 324 of file XalanNamespacesStack.hpp.

reverse_iterator xalanc::XalanNamespacesStack::rend ( )
inline

Definition at line 330 of file XalanNamespacesStack.hpp.

const_reverse_iterator xalanc::XalanNamespacesStack::rend ( ) const
inline

Definition at line 336 of file XalanNamespacesStack.hpp.

size_type xalanc::XalanNamespacesStack::size ( ) const
inline

Definition at line 342 of file XalanNamespacesStack.hpp.


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