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

#include <xalanc/XPath/XalanQName.hpp>

Inheritance diagram for xalanc::XalanQName::PrefixResolverProxy:
[legend]
Collaboration diagram for xalanc::XalanQName::PrefixResolverProxy:
[legend]

Public Member Functions

 PrefixResolverProxy (const NamespacesStackType &theStack, const XalanDOMString &theURI)
 Construct a PrefixResolver from a NamespacesStackType instance. More...
 
virtual ~PrefixResolverProxy ()
 
virtual const XalanDOMStringgetNamespaceForPrefix (const XalanDOMString &prefix) const
 Retrieve a namespace corresponding to a prefix. More...
 
virtual const XalanDOMStringgetURI () const
 Retrieve the base URI for the resolver. More...
 
- Public Member Functions inherited from xalanc::PrefixResolver
 PrefixResolver ()
 
 PrefixResolver (const PrefixResolver &)
 
virtual ~PrefixResolver ()
 

Detailed Description

Definition at line 168 of file XalanQName.hpp.

Constructor & Destructor Documentation

◆ PrefixResolverProxy()

xalanc::XalanQName::PrefixResolverProxy::PrefixResolverProxy ( const NamespacesStackType theStack,
const XalanDOMString theURI 
)

Construct a PrefixResolver from a NamespacesStackType instance.

Parameters
theStackThe stack to use for prefix resolution
theURIThe namespace URI of the resolver, if any. Only a reference is kept, so this cannot be a temporary
Returns
pointer to the string value if found, otherwise 0.

◆ ~PrefixResolverProxy()

virtual xalanc::XalanQName::PrefixResolverProxy::~PrefixResolverProxy ( )
virtual

Member Function Documentation

◆ getNamespaceForPrefix()

virtual const XalanDOMString* xalanc::XalanQName::PrefixResolverProxy::getNamespaceForPrefix ( const XalanDOMString prefix) const
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

Implements xalanc::PrefixResolver.

◆ getURI()

virtual const XalanDOMString& xalanc::XalanQName::PrefixResolverProxy::getURI ( ) const
virtual

Retrieve the base URI for the resolver.

Returns
URI string

Implements xalanc::PrefixResolver.


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