Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Public Member Functions | List of all members
XalanQNameByReference Class Reference
Inheritance diagram for XalanQNameByReference:
XalanQName

Public Member Functions

 XalanQNameByReference ()
 Construct an empty XalanQNameByReference. More...
 
 XalanQNameByReference (const XalanDOMString &theNamespace, const XalanDOMString &theLocalPart)
 Construct a XalanQNameByReference, with the supplied namespace and local part. More...
 
 XalanQNameByReference (const XalanDOMString &theLocalPart)
 Construct a XalanQNameByReference, with the supplied local part. More...
 
 XalanQNameByReference (const XalanQName &theQName)
 Construct a XalanQNameByReference, from the supplied XalanQName. More...
 
virtual ~XalanQNameByReference ()
 
virtual const XalanDOMStringgetLocalPart () const
 Retrieve the local part of qualified name. More...
 
void setLocalPart (const XalanDOMString &theLocalPart)
 Set the local part of qualified name. More...
 
virtual const XalanDOMStringgetNamespace () const
 Retrieve the namespace of qualified name. More...
 
void setNamespace (const XalanDOMString &theNamespace)
 Set the Namespace URI of qualified name. More...
 
void clear ()
 Clear the instance. More...
 
- Public Member Functions inherited from XalanQName
 XalanQName ()
 Construct an empty XalanQName. More...
 
virtual ~XalanQName ()
 
bool isValid () const
 Determine if the qualified name is valid. More...
 
bool isEmpty () const
 Whether the qualified name is empty. More...
 
bool equals (const XalanQName &theRHS) const
 Override equals and agree that we're equal if the passed object is a string and it matches the name of the arg. More...
 
XalanDOMString::size_type hash () const
 

Additional Inherited Members

- Public Types inherited from XalanQName
typedef XalanDeque< NameSpace,
ConstructWithMemoryManagerTraits
< NameSpace > > 
NamespaceVectorType
 
typedef XalanDeque
< NamespaceVectorType,
ConstructWithMemoryManagerTraits
< NamespaceVectorType > > 
NamespacesStackType
 
- Static Public Member Functions inherited from XalanQName
static const XalanDOMStringgetNamespaceForPrefix (const NamespaceVectorType &namespaces, const XalanDOMString &prefix)
 Get the namespace for a prefix by searching a vector of namespaces. More...
 
static const XalanDOMStringgetNamespaceForPrefix (const NamespacesStackType &nsStack, const XalanDOMString &prefix)
 Get the namespace for a prefix by searching a stack of namespace vectors. More...
 
static const XalanDOMStringgetNamespaceForPrefix (const NamespacesStackType &nsStack, const XalanDOMChar *prefix)
 
static const XalanDOMStringgetNamespaceForPrefix (NamespacesStackType::const_iterator theBegin, NamespacesStackType::const_iterator theEnd, const XalanDOMString &prefix)
 Get the namespace for a prefix by searching a range of iterators. More...
 
static const XalanDOMStringgetPrefixForNamespace (const NamespaceVectorType &namespaces, const XalanDOMString &uri)
 Get the prefix for a namespace by searching a vector of namespaces. More...
 
static const XalanDOMStringgetNamespaceForPrefix (const NamespaceVectorType &namespaces, const XalanDOMChar *prefix)
 
static const XalanDOMStringgetPrefixForNamespace (const NamespacesStackType &nsStack, const XalanDOMString &uri)
 Get the prefix for a namespace by searching a stack of namespace vectors. More...
 
static const XalanDOMStringgetPrefixForNamespace (NamespacesStackType::const_iterator theBegin, NamespacesStackType::const_iterator theEnd, const XalanDOMString &uri)
 Get the prefix for a namespace by searching a range of iterators. More...
 
static const XalanDOMStringgetNamespaceForPrefix (NamespacesStackType::const_iterator theBegin, NamespacesStackType::const_iterator theEnd, const XalanDOMChar *prefix)
 
static bool isValidNCName (const XalanDOMString &theNCName)
 Determine if the string supplied satisfies the grammar for an XML NCName. More...
 
static bool isValidNCName (const XalanDOMChar *theNCName, XalanDOMString::size_type theLength=XalanDOMString::npos)
 Determine if the string supplied satisfies the grammar for an XML NCName. More...
 
static bool isValidQName (const XalanDOMString &theQName)
 Determine if the string supplied satisfies the grammar for an XML QName. More...
 
static bool isValidQName (const XalanDOMChar *theQName, XalanDOMString::size_type theLength=XalanDOMString::npos)
 Determine if the string supplied satisfies the grammar for an XML QName. More...
 
- Static Protected Attributes inherited from XalanQName
static const XalanDOMString s_emptyString
 

Constructor & Destructor Documentation

XalanQNameByReference::XalanQNameByReference ( )
explicit

Construct an empty XalanQNameByReference.

XalanQNameByReference::XalanQNameByReference ( const XalanDOMString theNamespace,
const XalanDOMString theLocalPart 
)

Construct a XalanQNameByReference, with the supplied namespace and local part.

The instance keeps only a reference to the string, to avoid making a copy.

Parameters
theNamespacenamespace string
theLocalPartlocal part string
XalanQNameByReference::XalanQNameByReference ( const XalanDOMString theLocalPart)

Construct a XalanQNameByReference, with the supplied local part.

The instance keeps only a reference to the string, to avoid making a copy.

Parameters
theLocalPartlocal part string
XalanQNameByReference::XalanQNameByReference ( const XalanQName theQName)

Construct a XalanQNameByReference, from the supplied XalanQName.

The instance keeps only a reference to the string, to avoid making a copy.

Parameters
theQNameThe source QName
virtual XalanQNameByReference::~XalanQNameByReference ( )
virtual

Member Function Documentation

void XalanQNameByReference::clear ( )

Clear the instance.

virtual const XalanDOMString& XalanQNameByReference::getLocalPart ( ) const
virtual

Retrieve the local part of qualified name.

Returns
local part string

Implements XalanQName.

virtual const XalanDOMString& XalanQNameByReference::getNamespace ( ) const
virtual

Retrieve the namespace of qualified name.

Returns
namespace string

Implements XalanQName.

void XalanQNameByReference::setLocalPart ( const XalanDOMString theLocalPart)

Set the local part of qualified name.

Parameters
theLocalPartlocal part string
void XalanQNameByReference::setNamespace ( const XalanDOMString theNamespace)

Set the Namespace URI of qualified name.

Parameters
theLocalPartlocal part string

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