Public Types | |
typedef XERCES_CPP_NAMESPACE_QUALIFIER Locator | LocatorType |
![]() | |
typedef XalanDeque< NameSpace, ConstructWithMemoryManagerTraits < NameSpace > > | NamespaceVectorType |
typedef XalanDeque < NamespaceVectorType, ConstructWithMemoryManagerTraits < NamespaceVectorType > > | NamespacesStackType |
Public Member Functions | |
XalanQNameByValue (MemoryManagerType &theManager) | |
Construct an empty XalanQNameByValue. | |
MemoryManagerType & | getMemoryManager () |
XalanQNameByValue (const XalanQNameByValue &theSource, MemoryManagerType &theManager) | |
Copy constructor. | |
XalanQNameByValue (const XalanQName &theSource, MemoryManagerType &theManager) | |
Construct an instance from another XalanQName. | |
XalanQNameByValue (const XalanDOMString &theNamespace, const XalanDOMString &theLocalPart, MemoryManagerType &theManager) | |
Construct a XalanQNameByValue, with the supplied namespace and local part. | |
XalanQNameByValue (const XalanDOMString &qname, const NamespacesStackType &namespaces, MemoryManagerType &theManager, const LocatorType *locator=0, bool fUseDefault=false) | |
Construct a XalanQNameByValue from a string, resolving the prefix using the given namespace vector stack. | |
XalanQNameByValue (const XalanDOMChar *qname, const NamespacesStackType &namespaces, MemoryManagerType &theManager, const LocatorType *locator=0, bool fUseDefault=false) | |
Construct a XalanQNameByValue from a string, resolving the prefix using the given namespace vector stack. | |
XalanQNameByValue (const XalanDOMString &qname, const XalanElement *namespaceContext, const XPathEnvSupport &envSupport, const DOMSupport &domSupport, MemoryManagerType &theManager, const LocatorType *locator=0) | |
Construct a XalanQNameByValue from a string, resolving the prefix using the given namespace context. | |
XalanQNameByValue (const XalanDOMString &qname, MemoryManagerType &theManager, const PrefixResolver *theResolver=0, const LocatorType *locator=0) | |
Construct a XalanQNameByValue from a string, resolving the prefix using the given prefix resolver. | |
virtual | ~XalanQNameByValue () |
virtual const XalanDOMString & | getLocalPart () const |
Retrieve the local part of qualified name. | |
void | setLocalPart (const XalanDOMString &theLocalPart) |
Set the local part of qualified name. | |
virtual const XalanDOMString & | getNamespace () const |
Retrieve the namespace of qualified name. | |
void | setNamespace (const XalanDOMString &theNamespace) |
Set the Namespace URI of qualified name. | |
void | set (const XalanDOMString &qname, const NamespacesStackType &namespaces, const LocatorType *locator=0, bool fUseDefault=false) |
Set the local part and namespace URI of a XalanQNameByValue from a string, resolving the prefix using the given namespace vector stack. | |
void | set (const XalanDOMChar *qname, const NamespacesStackType &namespaces, const LocatorType *locator=0, bool fUseDefault=false) |
Set the local part and namespace URI of a XalanQNameByValue from a string, resolving the prefix using the given namespace vector stack. | |
void | set (const XalanDOMString &qname, const PrefixResolver *theResolver=0, const LocatorType *locator=0) |
Set the local part and namespace URI of a XalanQNameByValue from a string, resolving the prefix using the resolver provided. | |
void | set (const XalanDOMChar *qname, const PrefixResolver *theResolver=0, const LocatorType *locator=0) |
Set the local part and namespace URI of a XalanQNameByValue from a string, resolving the prefix using the resolver provided. | |
void | clear () |
Clear the instance. | |
XalanQNameByValue & | operator= (const XalanQNameByValue &theRHS) |
XalanQNameByValue & | operator= (const XalanQName &theRHS) |
![]() | |
XalanQName () | |
Construct an empty XalanQName. | |
virtual | ~XalanQName () |
bool | isValid () const |
Determine if the qualified name is valid. | |
bool | isEmpty () const |
Whether the qualified name is empty. | |
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. | |
XalanDOMString::size_type | hash () const |
Static Public Member Functions | |
static XalanQNameByValue * | create (const XalanDOMString &theNamespace, const XalanDOMString &theLocalPart, MemoryManagerType &theManager) |
![]() | |
static const XalanDOMString * | getNamespaceForPrefix (const NamespaceVectorType &namespaces, const XalanDOMString &prefix) |
Get the namespace for a prefix by searching a vector of namespaces. | |
static const XalanDOMString * | getNamespaceForPrefix (const NamespacesStackType &nsStack, const XalanDOMString &prefix) |
Get the namespace for a prefix by searching a stack of namespace vectors. | |
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. | |
static const XalanDOMString * | getPrefixForNamespace (const NamespaceVectorType &namespaces, const XalanDOMString &uri) |
Get the prefix for a namespace by searching a vector of namespaces. | |
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. | |
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. | |
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. | |
static bool | isValidNCName (const XalanDOMChar *theNCName, XalanDOMString::size_type theLength=XalanDOMString::npos) |
Determine if the string supplied satisfies the grammar for an XML NCName. | |
static bool | isValidQName (const XalanDOMString &theQName) |
Determine if the string supplied satisfies the grammar for an XML QName. | |
static bool | isValidQName (const XalanDOMChar *theQName, XalanDOMString::size_type theLength=XalanDOMString::npos) |
Determine if the string supplied satisfies the grammar for an XML QName. |
Additional Inherited Members | |
![]() | |
static const XalanDOMString | s_emptyString |
typedef XERCES_CPP_NAMESPACE_QUALIFIER Locator XalanQNameByValue::LocatorType |
|
explicit |
Construct an empty XalanQNameByValue.
XalanQNameByValue::XalanQNameByValue | ( | const XalanQNameByValue & | theSource, |
MemoryManagerType & | theManager | ||
) |
Copy constructor.
theSource | The source of the copy. |
|
explicit |
Construct an instance from another XalanQName.
theSource | The source of the copy. |
XalanQNameByValue::XalanQNameByValue | ( | const XalanDOMString & | theNamespace, |
const XalanDOMString & | theLocalPart, | ||
MemoryManagerType & | theManager | ||
) |
Construct a XalanQNameByValue, with the supplied namespace and local part.
theNamespace | namespace string |
theLocalPart | local part string |
XalanQNameByValue::XalanQNameByValue | ( | const XalanDOMString & | qname, |
const NamespacesStackType & | namespaces, | ||
MemoryManagerType & | theManager, | ||
const LocatorType * | locator = 0 , |
||
bool | fUseDefault = false |
||
) |
Construct a XalanQNameByValue from a string, resolving the prefix using the given namespace vector stack.
qname | QName string |
namespaces | namespace vector stack to use |
locator | The Locator instance for error reporting, if any |
fUseDefault | If true, then elements with no prefix will have the default namespace URI, if there is one. |
XalanQNameByValue::XalanQNameByValue | ( | const XalanDOMChar * | qname, |
const NamespacesStackType & | namespaces, | ||
MemoryManagerType & | theManager, | ||
const LocatorType * | locator = 0 , |
||
bool | fUseDefault = false |
||
) |
Construct a XalanQNameByValue from a string, resolving the prefix using the given namespace vector stack.
qname | QName string |
namespaces | namespace vector stack to use |
locator | The Locator instance for error reporting, if any |
fUseDefault | If true, then elements with no prefix will have the default namespace URI, if there is one. |
XalanQNameByValue::XalanQNameByValue | ( | const XalanDOMString & | qname, |
const XalanElement * | namespaceContext, | ||
const XPathEnvSupport & | envSupport, | ||
const DOMSupport & | domSupport, | ||
MemoryManagerType & | theManager, | ||
const LocatorType * | locator = 0 |
||
) |
Construct a XalanQNameByValue from a string, resolving the prefix using the given namespace context.
The default namespace is not resolved.
qname | QName string |
namespaceContext | context object for namespace resolution |
envSupport | XPathEnvSupport class instance |
domSupport | DOMSupport class instance |
locator | The Locator instance for error reporting, if any |
XalanQNameByValue::XalanQNameByValue | ( | const XalanDOMString & | qname, |
MemoryManagerType & | theManager, | ||
const PrefixResolver * | theResolver = 0 , |
||
const LocatorType * | locator = 0 |
||
) |
Construct a XalanQNameByValue from a string, resolving the prefix using the given prefix resolver.
The default namespace is not resolved.
qname | QName string |
theResolver | prefix resolver to use |
locator | The Locator instance for error reporting, if any |
|
virtual |
void XalanQNameByValue::clear | ( | ) |
Clear the instance.
|
static |
|
virtual |
MemoryManagerType& XalanQNameByValue::getMemoryManager | ( | ) |
|
virtual |
XalanQNameByValue& XalanQNameByValue::operator= | ( | const XalanQNameByValue & | theRHS | ) |
XalanQNameByValue& XalanQNameByValue::operator= | ( | const XalanQName & | theRHS | ) |
void XalanQNameByValue::set | ( | const XalanDOMString & | qname, |
const NamespacesStackType & | namespaces, | ||
const LocatorType * | locator = 0 , |
||
bool | fUseDefault = false |
||
) |
Set the local part and namespace URI of a XalanQNameByValue from a string, resolving the prefix using the given namespace vector stack.
qname | QName string |
namespaces | namespace vector stack to use |
locator | The Locator instance for error reporting, if any |
fUseDefault | If true, then elements with no prefix will have the default namespace URI, if there is one. |
void XalanQNameByValue::set | ( | const XalanDOMChar * | qname, |
const NamespacesStackType & | namespaces, | ||
const LocatorType * | locator = 0 , |
||
bool | fUseDefault = false |
||
) |
Set the local part and namespace URI of a XalanQNameByValue from a string, resolving the prefix using the given namespace vector stack.
qname | QName string |
namespaces | namespace vector stack to use |
locator | The Locator instance for error reporting, if any |
fUseDefault | If true, then elements with no prefix will have the default namespace URI, if there is one. |
void XalanQNameByValue::set | ( | const XalanDOMString & | qname, |
const PrefixResolver * | theResolver = 0 , |
||
const LocatorType * | locator = 0 |
||
) |
Set the local part and namespace URI of a XalanQNameByValue from a string, resolving the prefix using the resolver provided.
The default namespace is not resolved.
qname | QName string |
theResolver | prefix resolver to use |
locator | The Locator instance for error reporting, if any |
void XalanQNameByValue::set | ( | const XalanDOMChar * | qname, |
const PrefixResolver * | theResolver = 0 , |
||
const LocatorType * | locator = 0 |
||
) |
Set the local part and namespace URI of a XalanQNameByValue from a string, resolving the prefix using the resolver provided.
The default namespace is not resolved.
qname | QName string |
theResolver | prefix resolver to use |
locator | The Locator instance for error reporting, if any |
void XalanQNameByValue::setLocalPart | ( | const XalanDOMString & | theLocalPart | ) |
Set the local part of qualified name.
theLocalPart | local part string |
void XalanQNameByValue::setNamespace | ( | const XalanDOMString & | theNamespace | ) |
Set the Namespace URI of qualified name.
theLocalPart | local part string |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|