|
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(XALANQNAME_HEADER_GUARD_1357924680)
19 #define XALANQNAME_HEADER_GUARD_1357924680
53 class XPathEnvSupport;
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);
208 getNamespaceForPrefix(
221 getNamespaceForPrefix(
226 getNamespaceForPrefix(
228 const XalanDOMChar* prefix);
241 getNamespaceForPrefix(
255 getPrefixForNamespace(
260 getNamespaceForPrefix(
262 const XalanDOMChar* prefix);
273 getPrefixForNamespace(
288 getPrefixForNamespace(
294 getNamespaceForPrefix(
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);
455 #endif // XALANQNAME_HEADER_GUARD_1357924680
XalanQName()
Construct an empty XalanQName.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
bool operator!=(const XalanQName &theLHS, const XalanQName &theRHS)
XalanHashMemberPointer< XalanQName > Hasher
virtual const XalanDOMString & getLocalPart() const =0
Retrieve the local part of qualified name.
bool operator==(const XalanQName &theLHS, const XalanQName &theRHS)
bool isEmpty() const
Whether the qualified name is empty.
equals(const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, XalanDOMString::size_type theLength)
Compare the contents of two arrays for equality.
XalanDeque< NameSpace, ConstructWithMemoryManagerTraits< NameSpace > > NamespaceVectorType
#define XALAN_XPATH_EXPORT
Xalan implementation of deque.
XalanDeque< NamespaceVectorType, ConstructWithMemoryManagerTraits< NamespaceVectorType > > NamespacesStackType
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...
static const XalanDOMString s_emptyString
bool isValid() const
Determine if the qualified name is valid.
This class defines an interface for classes that resolve namespace prefixes to their URIs.
bool operator<(const XalanQName &theLHS, const XalanQName &theRHS)
XalanQName(const XalanQName &)
XalanHashMemberReference< XalanQName > Hasher
virtual const XalanDOMString & getNamespace() const =0
Retrieve the namespace of qualified name.
pointer_equal< XalanQName > Comparator
Class to represent a qualified name.
std::equal_to< XalanQName > Comparator