Xalan-C++ API Reference  1.12.0
Public Member Functions | List of all members
xalanc::PrefixResolver Class Referenceabstract

This class defines an interface for classes that resolve namespace prefixes to their URIs. More...

#include <xalanc/PlatformSupport/PrefixResolver.hpp>

Inheritance diagram for xalanc::PrefixResolver:
[legend]

Public Member Functions

 PrefixResolver ()
 
 PrefixResolver (const PrefixResolver &)
 
virtual ~PrefixResolver ()
 
virtual const XalanDOMStringgetNamespaceForPrefix (const XalanDOMString &prefix) const =0
 Retrieve a namespace corresponding to a prefix. More...
 
virtual const XalanDOMStringgetURI () const =0
 Retrieve the base URI for the resolver. More...
 

Detailed Description

This class defines an interface for classes that resolve namespace prefixes to their URIs.

Definition at line 39 of file PrefixResolver.hpp.

Constructor & Destructor Documentation

◆ PrefixResolver() [1/2]

xalanc::PrefixResolver::PrefixResolver ( )

◆ PrefixResolver() [2/2]

xalanc::PrefixResolver::PrefixResolver ( const PrefixResolver )

◆ ~PrefixResolver()

virtual xalanc::PrefixResolver::~PrefixResolver ( )
virtual

Member Function Documentation

◆ getNamespaceForPrefix()

virtual const XalanDOMString* xalanc::PrefixResolver::getNamespaceForPrefix ( const XalanDOMString prefix) const
pure virtual

Retrieve a namespace corresponding to a prefix.

This assumes that the PrevixResolver holds its own namespace context, or is a namespace context itself.

Parameters
prefixPrefix to resolve
Returns
namespace that prefix resolves to, or null if prefix is not found

Implemented in xalanc::Stylesheet, xalanc::ElemTemplateElement, xalanc::XSLTEngineImpl, xalanc::XalanQName::PrefixResolverProxy, xalanc::XalanDocumentPrefixResolver, xalanc::ElementPrefixResolverProxy, xalanc::XalanNamespacesStack::PrefixResolverProxy, and xalanc::XalanSimplePrefixResolver.

◆ getURI()

virtual const XalanDOMString& xalanc::PrefixResolver::getURI ( ) const
pure virtual

The documentation for this class was generated from the following file: