18 #if !defined(XALANQNAME_HEADER_GUARD_1357924680) 19 #define XALANQNAME_HEADER_GUARD_1357924680 48 XALAN_CPP_NAMESPACE_BEGIN
103 getLocalPart()
const = 0;
111 getNamespace()
const = 0;
121 return isValidNCName(getLocalPart());
132 return getNamespace().empty() && getLocalPart().empty();
165 return getLocalPart().hash() % (getNamespace().hash() + 1);
228 const XalanDOMChar* prefix);
255 getPrefixForNamespace(
262 const XalanDOMChar* prefix);
273 getPrefixForNamespace(
288 getPrefixForNamespace(
297 const XalanDOMChar* prefix);
318 const XalanDOMChar* theNCName,
343 const XalanDOMChar* theQName,
358 const XalanDOMChar* theQName,
361 const Locator* theLocator);
371 MemoryManager& theManager,
372 const Locator* theLocator);
379 virtual const XalanDOMChar*
386 const XalanDOMChar* theQName,
402 return theLHS.
equals(theRHS);
412 return !(theLHS == theRHS);
451 XALAN_CPP_NAMESPACE_END
455 #endif // XALANQNAME_HEADER_GUARD_1357924680
XalanQName()
Construct an empty XalanQName.
XALAN_STD_QUALIFIER equal_to< XalanQName > Comparator
bool isEmpty() const
Whether the qualified name is empty.
XalanDeque< NameSpace, ConstructWithMemoryManagerTraits< NameSpace > > NamespaceVectorType
virtual const XalanDOMString & getNamespace() const =0
Retrieve the namespace of qualified name.
virtual const XalanDOMString & getURI() const =0
Retrieve the base URI for the resolver.
bool operator<(const XalanQName &theLHS, const XalanQName &theRHS)
XalanHashMemberReference< XalanQName > Hasher
bool operator!=(const XalanQName &theLHS, const XalanQName &theRHS)
static const XalanDOMString s_emptyString
XalanQName(const XalanQName &)
This class defines an interface for classes that resolve namespace prefixes to their URIs...
pointer_equal< XalanQName > Comparator
XalanDeque< NamespaceVectorType, ConstructWithMemoryManagerTraits< NamespaceVectorType > > NamespacesStackType
virtual const XalanDOMString & getLocalPart() const =0
Retrieve the local part of qualified name.
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 o...
virtual const XalanDOMString * getNamespaceForPrefix(const XalanDOMString &prefix) const =0
Retrieve a namespace corresponding to a prefix.
bool operator==(const XalanQName &theLHS, const XalanQName &theRHS)
#define XALAN_XPATH_EXPORT
equals(const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, XalanDOMString::size_type theLength)
Compare the contents of two arrays for equality.
Class to represent a qualified name.
XalanHashMemberPointer< XalanQName > Hasher
Xalan implementation of deque.
bool isValid() const
Determine if the qualified name is valid.