#include <xalanc/XSLT/NamespacesHandler.hpp>
|
| | NamespacesHandler (MemoryManager &theManager) |
| | Create a default, empty instance.
|
| |
| | NamespacesHandler (StylesheetConstructionContext &theConstructionContext, const NamespacesHandler &stylesheetNamespacesHandler, const NamespacesStackType &theCurrentNamespaces, const XalanDOMString &theXSLTNamespaceURI) |
| | Create an instance namespace handler using the current namespaces in effect.
|
| |
| | ~NamespacesHandler () |
| |
| void | processExcludeResultPrefixes (StylesheetConstructionContext &theConstructionContext, const XalanDOMChar *theValue, const NamespacesStackType &theCurrentNamespaces) |
| | Process an exclude-result-prefixes attribute.
|
| |
| void | processExtensionElementPrefixes (StylesheetConstructionContext &theConstructionContext, const XalanDOMChar *theValue, const NamespacesStackType &theCurrentNamespaces) |
| | Process an extension-element-prefixes attribute.
|
| |
| 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.
|
| |
| NamespacesHandler & | operator= (const NamespacesHandler &theRHS) |
| |
| bool | shouldExcludeResultNamespaceNode (const XalanDOMString &theXSLTNamespaceURI, const XalanDOMString &theURI) const |
| | Determine of a given namespace should be excluded.
|
| |
| void | addExtensionNamespaceURI (StylesheetConstructionContext &theConstructionContext, const XalanDOMString &theURI) |
| | Add a URI as an extension namespace prefixes.
|
| |
| const XalanDOMString * | getNamespace (const XalanDOMString &thePrefix) const |
| | Get the namespace URI for the given prefix.
|
| |
| 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.
|
| |
| void | copyNamespaceAliases (const NamespacesHandler &parentNamespacesHandler) |
| | Copy the aliases from the given NamespacesHandler.
|
| |
| void | outputResultNamespaces (StylesheetExecutionContext &theExecutionContext, bool supressDefault=false) const |
| | Output the result tree namespace declarations.
|
| |
| void | clear () |
| | Clear out the handler.
|
| |
| void | swap (NamespacesHandler &theOther) |
| | Swap the contents of this instance with another.
|
| |
| NamespaceExtendedVectorType::size_type | getNamespaceDeclarationsCount () const |
| |
Definition at line 52 of file NamespacesHandler.hpp.
◆ NamespaceAliasesMapType
◆ NamespaceExtendedVectorType
◆ NamespacesStackType
◆ NamespacesVectorType
◆ NamespaceVectorType
◆ XalanDOMStringPointerVectorType
◆ NamespacesHandler() [1/2]
| xalanc::NamespacesHandler::NamespacesHandler |
( |
MemoryManager & |
theManager | ) |
|
|
explicit |
Create a default, empty instance.
◆ NamespacesHandler() [2/2]
Create an instance namespace handler using the current namespaces in effect.
- Parameters
-
| theConstructionContext | The current construction context. |
| stylesheetNamespacesHandler | The stylesheet's handler. |
| theCurrentNamespaces | The stack of active namespace declarations. |
| theXSLTNamespaceURI | The namespace URI for XSLT. |
◆ ~NamespacesHandler()
| xalanc::NamespacesHandler::~NamespacesHandler |
( |
| ) |
|
◆ addExtensionNamespaceURI()
Add a URI as an extension namespace prefixes.
- Parameters
-
| theConstructionContext | The current construction context. |
| theURI | The namespace URI. |
◆ clear()
| void xalanc::NamespacesHandler::clear |
( |
| ) |
|
◆ copyNamespaceAliases()
Copy the aliases from the given NamespacesHandler.
- Parameters
-
| parentNamespacesHandler | The parent handler. |
◆ getNamespace()
Get the namespace URI for the given prefix.
- Parameters
-
| thePrefix | The namespace prefix. |
- Returns
- The namespace URI
◆ getNamespaceAlias()
Get the namespace alias URI for the given namespace.
- Parameters
-
| theStylesheetNamespace | The namespace as declared in the stylesheet. |
- Returns
- The namespace alias URI
◆ getNamespaceDeclarationsCount()
◆ operator=()
◆ outputResultNamespaces()
Output the result tree namespace declarations.
- Parameters
-
| theExecutionContext | The current execution context. |
| supressDefault | If true, any default namespace declaration will not be output. |
◆ postConstruction()
Notify the instance that the stylesheet is fully constructed.
- Parameters
-
| theConstructionContext | The current construction context. |
| fProcessNamespaceAliases | If true, process any namespace aliases |
| theElementName | The name of the owning element. |
| parentNamespacesHandler | The parent handler, if any. |
| prefixChecker | A pointer to a PrefixChecker instance to use, if any. |
◆ processExcludeResultPrefixes()
Process an exclude-result-prefixes attribute.
- Parameters
-
| theConstructionContext | The current construction context. |
| theValue | The attribute's value. |
| theCurrentNamespaces | The stack of active namespace declarations. |
◆ processExtensionElementPrefixes()
Process an extension-element-prefixes attribute.
- Parameters
-
| theConstructionContext | The current construction context. |
| theValue | The attribute's value. |
| theCurrentNamespaces | The stack of active namespace declarations. |
◆ setNamespaceAlias()
Set the namespace alias URI for the given namespace.
- Parameters
-
| theConstructionContext | The current construction context. |
| theStylesheetNamespace | The namespace as declared in the stylesheet. |
| theResultNamespace | The namespace as it should appear in the result tree. |
◆ shouldExcludeResultNamespaceNode()
Determine of a given namespace should be excluded.
- Parameters
-
| theXSLTNamespaceURI | The namespace URI for XSLT. |
| theURI | The namespace URI. |
- Returns
- true of the namespace should be excluded, false if not.
◆ swap()
Swap the contents of this instance with another.
- Parameters
-
| theOther | The other instance. |
The documentation for this class was generated from the following file: