Xalan-C++ API Documentation
Xalan-C++ API Documentation
The Xalan C++ XSL Transformer Version 1.1
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
NamespacesHandler Class Reference
#include <NamespacesHandler.hpp>
Collaboration diagram for NamespacesHandler:
[legend]List of all members.Public Types
Public Methods
- NamespacesHandler ()
- Create a default, empty instance.
- NamespacesHandler ( const NamespacesHandler& stylesheetNamespacesHandler, const NamespacesStackType& theCurrentNamespaces, const XalanDOMString& theXSLTNamespaceURI)
- Create an instance namespace handler using the current namespaces in effect. More...
- NamespacesHandler (const NamespacesHandler& theSource)
- ~NamespacesHandler ()
- void processExcludeResultPrefixes ( const XalanDOMChar* theValue, const NamespacesStackType& theCurrentNamespaces, StylesheetConstructionContext& theConstructionContext)
- Process an exclude-result-prefixes attribute. More...
- void processExtensionElementPrefixes ( const XalanDOMChar* theValue, const NamespacesStackType& theCurrentNamespaces, StylesheetConstructionContext& theConstructionContext)
- Process an extension-element-prefixes attribute. More...
- void postConstruction ( const XalanDOMString& theElementName = XalanDOMString(), const NamespacesHandler* parentNamespacesHandler = 0)
- Notify the instance that the stylesheet is fully constructed. More...
- NamespacesHandler& operator= (const NamespacesHandler& theRHS)
- bool shouldExcludeResultNamespaceNode ( const XalanDOMString& theXSLTNamespaceURI, const XalanDOMString& thePrefix, const XalanDOMString& theURI) const
- Determine of a given namespace should be excluded. More...
- bool hasExcludedPrefix (const XalanDOMString& thePrefix) const
- Determine if a given prefix is in the list of excluded prefixes. More...
- void addExtensionNamespaceURI (const XalanDOMString& theURI)
- Add a URI as an extension namespace prefixes. More...
- const XalanDOMString& getNamespace (const XalanDOMString& thePrefix) const
- Get the namespace URI for the given prefix. More...
- const XalanDOMString& getNamespaceAlias (const XalanDOMString& theStylesheetNamespace) const
- Get the namespace alias URI for the given namespace. More...
- void setNamespaceAlias ( const XalanDOMString& theStylesheetNamespace, const XalanDOMString& theResultNamespace)
- Set the namespace alias URI for the given namespace. More...
- void copyNamespaceAliases (const NamespacesHandler& parentNamespacesHandler)
- Copy the aliases from the given NamespacesHandler. More...
- void outputResultNamespaces (StylesheetExecutionContext& theExecutionContext) const
- Output the result tree namespace declarations. More...
- void clear ()
- Clear out the handler.
- void swap (NamespacesHandler& theOther)
- Swap the contents of this instance with another. More...
- bool getProcessNamespaceAliaises () const
- void setProcessNamespaceAliaises (bool fValue)
Static Public Methods
Static Public Attributes
Member Typedef Documentation
typedef std::set<XalanDOMString> NamespacesHandler::ExtensionNamespaceURISetType
|
|
typedef QName::NamespaceVectorType NamespacesHandler::NamespaceVectorType
|
|
typedef QName::NamespacesStackType NamespacesHandler::NamespacesStackType
|
|
Constructor & Destructor Documentation
NamespacesHandler::NamespacesHandler (
|
) [explicit]
|
|
|
Create a default, empty instance.
|
NamespacesHandler::NamespacesHandler (
|
const NamespacesHandler & stylesheetNamespacesHandler,
|
|
const NamespacesStackType & theCurrentNamespaces,
|
|
const XalanDOMString & theXSLTNamespaceURI )
|
|
|
Create an instance namespace handler using the current namespaces in effect.
-
Parameters:
-
stylesheetNamespacesHandler
|
The stylesheet's handler. |
theCurrentNamespaces
|
The stack of active namespace declarations. |
theXSLTNamespaceURI
|
The namespace URI for XSLT. |
|
NamespacesHandler::NamespacesHandler (
|
const NamespacesHandler & theSource )
|
|
NamespacesHandler::~NamespacesHandler (
|
)
|
|
Member Function Documentation
void NamespacesHandler::addExtensionNamespaceURI (
|
const XalanDOMString & theURI ) []
|
|
|
Add a URI as an extension namespace prefixes.
-
Parameters:
-
theURI
|
The namespace URI. |
|
void NamespacesHandler::clear (
|
)
|
|
void NamespacesHandler::copyNamespaceAliases (
|
const NamespacesHandler & parentNamespacesHandler )
|
|
|
Copy the aliases from the given NamespacesHandler.
-
Parameters:
-
parentNamespacesHandler
|
The parent handler. |
|
|
Get the namespace URI for the given prefix.
-
Parameters:
-
thePrefix
|
The namespace prefix. |
-
Returns:
-
The namespace URI
|
|
Get the namespace alias URI for the given namespace.
-
Parameters:
-
theStylesheetNamespace
|
The namespace as declared in the stylesheet. |
-
Returns:
-
The namespace alias URI
|
bool NamespacesHandler::getProcessNamespaceAliaises (
|
) const []
|
|
bool NamespacesHandler::hasExcludedPrefix (
|
const XalanDOMString & thePrefix ) const []
|
|
|
Determine if a given prefix is in the list of excluded prefixes.
-
Parameters:
-
thePrefix
|
The namespace prefix. |
-
Returns:
-
true of the prefix should be excluded, false if not.
|
void NamespacesHandler::initialize (
|
) [static]
|
|
|
Perform static initialization.
See class XSLTInit. |
NamespacesHandler& NamespacesHandler::operator= (
|
const NamespacesHandler & theRHS )
|
|
|
Output the result tree namespace declarations.
-
Parameters:
-
theExecutionContext
|
The current execution context. |
|
void NamespacesHandler::postConstruction (
|
const XalanDOMString & theElementName = XalanDOMString(),
|
|
const NamespacesHandler * parentNamespacesHandler = 0 )
|
|
|
Notify the instance that the stylesheet is fully constructed.
-
Parameters:
-
theElementName
|
The name of the owning element. |
parentNamespacesHandler
|
The parent handler, if any. |
|
|
Process an exclude-result-prefixes attribute.
-
Parameters:
-
theValue
|
The attribute's value. |
theCurrentNamespaces
|
The stack of active namespace declarations. |
theConstructionContext
|
The current construction context. |
|
|
Process an extension-element-prefixes attribute.
-
Parameters:
-
theValue
|
The attribute's value. |
theCurrentNamespaces
|
The stack of active namespace declarations. |
theConstructionContext
|
The current construction context. |
|
|
Set the namespace alias URI for the given namespace.
-
Parameters:
-
theStylesheetNamespace
|
The namespace as declared in the stylesheet. |
theResultNamespace
|
The namespace as it should appear in the result tree. |
|
void NamespacesHandler::setProcessNamespaceAliaises (
|
bool fValue ) []
|
|
|
Determine of a given namespace should be excluded.
-
Parameters:
-
theXSLTNamespaceURI
|
The namespace URI for XSLT. |
thePrefix
|
The namespace prefix. |
theURI
|
The namespace URI. |
-
Returns:
-
true of the namespace should be excluded, false if not.
|
void NamespacesHandler::swap (
|
NamespacesHandler & theOther )
|
|
|
Swap the contents of this instance with another.
-
Parameters:
-
theOther
|
The other instance. |
|
void NamespacesHandler::terminate (
|
) [static]
|
|
|
Perform static shut down.
See class XSLTInit. |
Member Data Documentation
const XalanDOMString & NamespacesHandler::s_ApacheXSLTNamespaceURI [static]
|
|
const XalanDOMString & NamespacesHandler::s_LotusXSLTNamespaceURI [static]
|
|
const XalanDOMString & NamespacesHandler::s_LotusXSLTNamespaceURIWithSeparator [static]
|
|
The documentation for this class was generated from the following file:
Interpreting class diagrams
Doxygen and
GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSL Transformer Version 1.1
Copyright © 2000, 2001 The Apache Software Foundation. All Rights Reserved.
|
|