Xalan-C++ API Reference
1.12.0
|
#include <xalanc/XPath/XalanQNameByReference.hpp>
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 XalanDOMString & | getLocalPart () const |
Retrieve the local part of qualified name. More... | |
void | setLocalPart (const XalanDOMString &theLocalPart) |
Set the local part of qualified name. More... | |
virtual const XalanDOMString & | getNamespace () 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 xalanc::XalanQName | |
XalanQName () | |
Construct an empty XalanQName. More... | |
virtual | ~XalanQName () |
XalanQName (const 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 & | format (XalanDOMString &theString) const |
Format the QName using the notation "{namespace-uri}local-part" or "local-part" if the namespace URI is empty. More... | |
size_t | hash () const |
Additional Inherited Members | |
Public Types inherited from xalanc::XalanQName | |
typedef XalanDeque< NameSpace, ConstructWithMemoryManagerTraits< NameSpace > > | NamespaceVectorType |
typedef XalanDeque< NamespaceVectorType, ConstructWithMemoryManagerTraits< NamespaceVectorType > > | NamespacesStackType |
Static Public Member Functions inherited from xalanc::XalanQName | |
static const XalanDOMString * | getNamespaceForPrefix (const NamespaceVectorType &namespaces, const XalanDOMString &prefix) |
Get the namespace for a prefix by searching a vector of namespaces. More... | |
static const XalanDOMString * | getNamespaceForPrefix (const NamespacesStackType &nsStack, const XalanDOMString &prefix) |
Get the namespace for a prefix by searching a stack of namespace vectors. More... | |
static const XalanDOMString * | getNamespaceForPrefix (const NamespacesStackType &nsStack, const XalanDOMChar *prefix) |
static const XalanDOMString * | getNamespaceForPrefix (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 XalanDOMString * | getPrefixForNamespace (const NamespaceVectorType &namespaces, const XalanDOMString &uri) |
Get the prefix for a namespace by searching a vector of namespaces. More... | |
static const XalanDOMString * | getNamespaceForPrefix (const NamespaceVectorType &namespaces, const XalanDOMChar *prefix) |
static const XalanDOMString * | getPrefixForNamespace (const NamespacesStackType &nsStack, const XalanDOMString &uri) |
Get the prefix for a namespace by searching a stack of namespace vectors. More... | |
static const XalanDOMString * | getPrefixForNamespace (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 XalanDOMString * | getNamespaceForPrefix (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 xalanc::XalanQName | |
static const XalanDOMString | s_emptyString |
Definition at line 37 of file XalanQNameByReference.hpp.
|
explicit |
Construct an empty XalanQNameByReference.
xalanc::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.
theNamespace | namespace string |
theLocalPart | local part string |
xalanc::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.
theLocalPart | local part string |
xalanc::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.
theQName | The source QName |
|
virtual |
|
inline |
Clear the instance.
Definition at line 121 of file XalanQNameByReference.hpp.
|
virtual |
|
virtual |
|
inline |
Set the local part of qualified name.
theLocalPart | local part string |
Definition at line 93 of file XalanQNameByReference.hpp.
|
inline |
Set the Namespace URI of qualified name.
theLocalPart | local part string |
Definition at line 112 of file XalanQNameByReference.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:37 for Xalan-C++ API Reference by 1.8.17