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

#include <xalanc/XPath/ElementPrefixResolverProxy.hpp>

Inheritance diagram for xalanc::ElementPrefixResolverProxy:
[legend]
Collaboration diagram for xalanc::ElementPrefixResolverProxy:
[legend]

Public Member Functions

 ElementPrefixResolverProxy (const XalanElement *namespaceContext, const XPathEnvSupport &envSupport, const DOMSupport &domSupport, MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
 Construct an instance of an element prefix resolver proxy. More...
 
 ElementPrefixResolverProxy (const XalanElement *namespaceContext, MemoryManager &theManager XALAN_DEFAULT_MEMMGR, const XPathEnvSupport *envSupport=0)
 Construct an instance of an element prefix resolver proxy. More...
 
virtual ~ElementPrefixResolverProxy ()
 
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 47 of file ElementPrefixResolverProxy.hpp.

Constructor & Destructor Documentation

◆ ElementPrefixResolverProxy() [1/2]

xalanc::ElementPrefixResolverProxy::ElementPrefixResolverProxy ( const XalanElement namespaceContext,
const XPathEnvSupport envSupport,
const DOMSupport domSupport,
MemoryManager &theManager  XALAN_DEFAULT_MEMMGR 
)

Construct an instance of an element prefix resolver proxy.

Parameters
namespaceContextcontext object for namespace resolution
envSupportXPath environment support class instance
domSupportDOMSupport class instance
Deprecated:

◆ ElementPrefixResolverProxy() [2/2]

xalanc::ElementPrefixResolverProxy::ElementPrefixResolverProxy ( const XalanElement namespaceContext,
MemoryManager &theManager  XALAN_DEFAULT_MEMMGR,
const XPathEnvSupport envSupport = 0 
)

Construct an instance of an element prefix resolver proxy.

Parameters
namespaceContextcontext object for namespace resolution
envSupportXPath environment support class instance

◆ ~ElementPrefixResolverProxy()

virtual xalanc::ElementPrefixResolverProxy::~ElementPrefixResolverProxy ( )
virtual

Member Function Documentation

◆ getNamespaceForPrefix()

virtual const XalanDOMString* xalanc::ElementPrefixResolverProxy::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::ElementPrefixResolverProxy::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: