Xalan-C++ API Documentation
Go to the documentation of this file.
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;
238 const XalanDOMChar* theValue,
251 const XalanDOMChar* theValue,
266 bool fProcessNamespaceAliases =
true,
345 bool supressDefault =
false)
const;
364 return m_namespaceDeclarations.size();
388 const PrefixChecker* prefixChecker);
394 processNamespaceAliases();
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);
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
void setResultAttributeName(const XalanDOMString &name)
Set the name of the result attribute.
virtual bool isActive(const XalanDOMString &thePrefix) const =0
const XalanDOMString & getResultAttributeName() const
Retrieve the name of the result attribute.
void processExcludeResultPrefixes(StylesheetConstructionContext &theConstructionContext, const XalanDOMChar *theValue, const NamespacesStackType &theCurrentNamespaces)
Process an exclude-result-prefixes attribute.
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
const XalanDOMString & getPrefix() const
Retrieve the prefix for namespace.
Xalan implementation of deque.
XalanVector< Namespace > NamespacesVectorType
void addExtensionNamespaceURI(StylesheetConstructionContext &theConstructionContext, const XalanDOMString &theURI)
Add a URI as an extension namespace prefixes.
void postConstruction(StylesheetConstructionContext &theConstructionContext, bool fProcessNamespaceAliases=true, const XalanDOMString &theElementName=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), const NamespacesHandler *parentNamespacesHandler=0, const PrefixChecker *prefixChecker=0)
Notify the instance that the stylesheet is fully constructed.
#define XALAN_XSLT_EXPORT
XalanQName::NamespacesStackType NamespacesStackType
void swap(NamespacesHandler &theOther)
Swap the contents of this instance with another.
NamespaceExtended(const XalanDOMString &prefix, const XalanDOMString &uri)
NamespaceExtendedVectorType::size_type getNamespaceDeclarationsCount() const
Xalan implementation of a hashtable.
Namespace(const XalanDOMString &prefix, const XalanDOMString &uri)
void setPrefix(const XalanDOMString &prefix)
Set the prefix for namespace.
void setURI(const XalanDOMString &uri)
Set the URI for namespace.
void copyNamespaceAliases(const NamespacesHandler &parentNamespacesHandler)
Copy the aliases from the given NamespacesHandler.
NamespacesHandler(StylesheetConstructionContext &theConstructionContext, const NamespacesHandler &stylesheetNamespacesHandler, const NamespacesStackType &theCurrentNamespaces, const XalanDOMString &theXSLTNamespaceURI)
Create an instance namespace handler using the current namespaces in effect.
XalanMap< const XalanDOMString *, const XalanDOMString * > NamespaceAliasesMapType
void clear()
Clear out the handler.
static MemoryManager & getDummyMemMgr()
XalanQName::NamespaceVectorType NamespaceVectorType
void outputResultNamespaces(StylesheetExecutionContext &theExecutionContext, bool supressDefault=false) const
Output the result tree namespace declarations.
const XalanDOMString * getNamespaceAlias(const XalanDOMString &theStylesheetNamespace) const
Get the namespace alias URI for the given namespace.
void setNamespaceAlias(StylesheetConstructionContext &theConstructionContext, const XalanDOMString &theStylesheetNamespace, const XalanDOMString &theResultNamespace)
Set the namespace alias URI for the given namespace.
NamespacesHandler & operator=(const NamespacesHandler &theRHS)
static const XalanDOMString s_emptyString
const XalanDOMString * getNamespace(const XalanDOMString &thePrefix) const
Get the namespace URI for the given prefix.
void processExtensionElementPrefixes(StylesheetConstructionContext &theConstructionContext, const XalanDOMChar *theValue, const NamespacesStackType &theCurrentNamespaces)
Process an extension-element-prefixes attribute.
XalanVector< const XalanDOMString * > XalanDOMStringPointerVectorType
bool shouldExcludeResultNamespaceNode(const XalanDOMString &theXSLTNamespaceURI, const XalanDOMString &theURI) const
Determine of a given namespace should be excluded.
XalanVector< NamespaceExtended > NamespaceExtendedVectorType
const XalanDOMString & getURI() const
Retrieve the URI for namespace.
NamespacesHandler(MemoryManager &theManager)
Create a default, empty instance.
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|