Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Member Functions | List of all members
XalanNamespacesStack::PrefixResolverProxy Class Reference

#include <XalanNamespacesStack.hpp>

Inherits PrefixResolver.

Public Member Functions

 PrefixResolverProxy (const XalanNamespacesStack &theStack, const XalanDOMString &theURI)
 Construct a PrefixResolver from a XalanNamespaceStack 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 PrefixResolver
 PrefixResolver ()
 
 PrefixResolver (const PrefixResolver &)
 
virtual ~PrefixResolver ()
 

Detailed Description

Definition at line 49 of file XalanNamespacesStack.hpp.

Constructor & Destructor Documentation

◆ PrefixResolverProxy()

XalanNamespacesStack::PrefixResolverProxy::PrefixResolverProxy ( const XalanNamespacesStack theStack,
const XalanDOMString theURI 
)

Construct a PrefixResolver from a XalanNamespaceStack 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 XalanNamespacesStack::PrefixResolverProxy::~PrefixResolverProxy ( )
virtual

Member Function Documentation

◆ getNamespaceForPrefix()

virtual const XalanDOMString* XalanNamespacesStack::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 PrefixResolver.

◆ getURI()

virtual const XalanDOMString& XalanNamespacesStack::PrefixResolverProxy::getURI ( ) const
virtual

Retrieve the base URI for the resolver.

Returns
URI string

Implements PrefixResolver.


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++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo