16 #if !defined(XALANQNAME_HEADER_GUARD_1357924680)
17 #define XALANQNAME_HEADER_GUARD_1357924680
46 XALAN_CPP_NAMESPACE_BEGIN
97 getLocalPart()
const = 0;
105 getNamespace()
const = 0;
115 return isValidNCName(getLocalPart());
126 return getNamespace().empty() && getLocalPart().empty();
148 return getLocalPart().hash() % (getNamespace().hash() + 1);
211 const XalanDOMChar* prefix);
238 getPrefixForNamespace(
245 const XalanDOMChar* prefix);
256 getPrefixForNamespace(
271 getPrefixForNamespace(
280 const XalanDOMChar* prefix);
301 const XalanDOMChar* theNCName,
326 const XalanDOMChar* theQName,
344 const XalanDOMChar* theQName,
361 const XalanDOMChar* theQName,
373 const XalanDOMChar* theQName,
380 virtual const XalanDOMChar*
388 static const XalanDOMChar m_type[];
392 const XalanDOMChar* theQName,
408 return theLHS.
equals(theRHS);
418 return !(theLHS == theRHS);
457 XALAN_CPP_NAMESPACE_END
461 #endif // XALANQNAME_HEADER_GUARD_1357924680
Definition: STLHelper.hpp:628
XalanQName()
Construct an empty XalanQName.
Definition: XalanQName.hpp:82
Definition: XSLException.hpp:39
XALAN_STD_QUALIFIER equal_to< XalanQName > Comparator
Definition: XalanQName.hpp:446
Definition: XalanElement.hpp:42
Definition: XalanMap.hpp:66
XalanDOMString::size_type hash() const
Definition: XalanQName.hpp:146
Definition: XalanQName.hpp:329
XalanDeque< NameSpace, ConstructWithMemoryManagerTraits< NameSpace > > NamespaceVectorType
Definition: XalanQName.hpp:73
virtual const XalanDOMString & getNamespace() const =0
Retrieve the namespace of qualified name.
bool isValid() const
Determine if the qualified name is valid.
Definition: XalanQName.hpp:113
virtual const XalanDOMString & getURI() const =0
Retrieve the base URI for the resolver.
virtual const XalanDOMChar * getType() const
Retrieve type of exception.
Definition: XalanQName.hpp:381
bool operator<(const XalanQName &theLHS, const XalanQName &theRHS)
Definition: XalanQName.hpp:424
XalanHashMemberReference< XalanQName > Hasher
Definition: XalanQName.hpp:445
Definition: XPathEnvSupport.hpp:62
bool operator!=(const XalanQName &theLHS, const XalanQName &theRHS)
Definition: XalanQName.hpp:414
static const XalanDOMString s_emptyString
Definition: XalanQName.hpp:399
This class defines an interface for classes that resolve namespace prefixes to their URIs...
Definition: PrefixResolver.hpp:37
Definition: XalanMap.hpp:85
pointer_equal< XalanQName > Comparator
Definition: XalanQName.hpp:453
Definition: XalanMap.hpp:74
XalanDeque< NamespaceVectorType, ConstructWithMemoryManagerTraits< NamespaceVectorType > > NamespacesStackType
Definition: XalanQName.hpp:75
Definition: XalanDOMString.hpp:42
virtual const XalanDOMString & getLocalPart() const =0
Retrieve the local part of qualified name.
Definition: XalanQName.hpp:151
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...
Definition: XalanQName.hpp:137
virtual const XalanDOMString * getNamespaceForPrefix(const XalanDOMString &prefix) const =0
Retrieve a namespace corresponding to a prefix.
bool operator==(const XalanQName &theLHS, const XalanQName &theRHS)
Definition: XalanQName.hpp:404
unsigned int size_type
Definition: XalanDOMString.hpp:53
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:33
equals(const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, XalanDOMString::size_type theLength)
Compare the contents of two arrays for equality.
bool isEmpty() const
Whether the qualified name is empty.
Definition: XalanQName.hpp:124
Class to represent a qualified name: "The name of an internal XSLT object, specifically a named templ...
Definition: XalanQName.hpp:68
XalanHashMemberPointer< XalanQName > Hasher
Definition: XalanQName.hpp:452
Xalan implementation of deque.
Definition: XalanDeque.hpp:160
virtual ~XalanQName()
Definition: XalanQName.hpp:87
Definition: XalanDOMString.hpp:63
Definition: XalanDeque.hpp:59