19 #if !defined(XALAN_NAMESPACESHANDLER_HEADER_GUARD) 20 #define XALAN_NAMESPACESHANDLER_HEADER_GUARD 43 XALAN_CPP_NAMESPACE_BEGIN
75 m_prefix(&s_emptyString),
96 assert(m_prefix != 0);
153 m_resultAttributeName(&s_emptyString)
161 m_resultAttributeName(&s_emptyString)
173 assert(m_resultAttributeName != 0);
175 return *m_resultAttributeName;
186 m_resultAttributeName = &name;
223 const NamespacesStackType& theCurrentNamespaces,
224 const XalanDOMString& theXSLTNamespaceURI);
236 processExcludeResultPrefixes(
238 const XalanDOMChar* theValue,
239 const NamespacesStackType& theCurrentNamespaces);
249 processExtensionElementPrefixes(
251 const XalanDOMChar* theValue,
252 const NamespacesStackType& theCurrentNamespaces);
266 bool fProcessNamespaceAliases =
true,
282 shouldExcludeResultNamespaceNode(
283 const XalanDOMString& theXSLTNamespaceURI,
284 const XalanDOMString& theURI)
const;
293 addExtensionNamespaceURI(
295 const XalanDOMString& theURI);
303 const XalanDOMString*
304 getNamespace(
const XalanDOMString& thePrefix)
const;
312 const XalanDOMString*
313 getNamespaceAlias(
const XalanDOMString& theStylesheetNamespace)
const;
325 const XalanDOMString& theStylesheetNamespace,
326 const XalanDOMString& theResultNamespace);
343 outputResultNamespaces(
345 bool supressDefault =
false)
const;
364 return m_namespaceDeclarations.size();
385 processExcludeResultPrefixes(
387 const XalanDOMString& theElementPrefix,
394 processNamespaceAliases();
402 copyNamespaceAliases(
const NamespaceAliasesMapType& theNamespaceAliases);
410 copyExtensionNamespaceURIs(
const XalanDOMStringPointerVectorType& theExtensionNamespaceURIs);
418 copyExcludeResultPrefixes(
const NamespacesVectorType& theExcludeResultPrefixes);
428 isExcludedNamespaceURI(
const XalanDOMString& theNamespaceURI)
const;
437 isExtensionNamespaceURI(
const XalanDOMString& theNamespaceURI)
const 439 return findString(theNamespaceURI, m_extensionNamespaceURIs);
450 const XalanDOMString& theString,
451 const XalanDOMStringPointerVectorType& theVector);
460 NamespacesVectorType m_excludedResultPrefixes;
462 NamespaceExtendedVectorType m_namespaceDeclarations;
464 XalanDOMStringPointerVectorType m_extensionNamespaceURIs;
466 NamespaceAliasesMapType m_namespaceAliases;
471 XALAN_CPP_NAMESPACE_END
475 #endif // XALAN_NAMESPACESHANDLER_HEADER_GUARD XalanVector< const XalanDOMString * > XalanDOMStringPointerVectorType
NamespaceExtended(const XalanDOMString &prefix, const XalanDOMString &uri)
const XalanDOMString & getPrefix() const
Retrieve the prefix for namespace.
void setURI(const XalanDOMString &uri)
Set the URI for namespace.
void setResultAttributeName(const XalanDOMString &name)
Set the name of the result attribute.
Namespace(const XalanDOMString &prefix, const XalanDOMString &uri)
const XalanDOMString & getURI() const
Retrieve the URI for namespace.
NamespaceExtendedVectorType::size_type getNamespaceDeclarationsCount() const
void setPrefix(const XalanDOMString &prefix)
Set the prefix for namespace.
void clear(XalanDOMString &theString)
Remove all elements from target string.
static const XalanDOMString s_emptyString
static MemoryManager & getDummyMemMgr()
void swap(XalanVector< Type > &theLHS, XalanVector< Type > &theRHS)
XalanVector< NamespaceExtended > NamespaceExtendedVectorType
XalanMap< const XalanDOMString *, const XalanDOMString * > NamespaceAliasesMapType
#define XALAN_XSLT_EXPORT
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
XalanVector< Namespace > NamespacesVectorType
Xalan implementation of a hashtable.
const XalanDOMString & getResultAttributeName() const
Retrieve the name of the result attribute.
XalanQName::NamespacesStackType NamespacesStackType
XalanQName::NamespaceVectorType NamespaceVectorType
Xalan implementation of deque.