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

#include <xalanc/PlatformSupport/XalanSimplePrefixResolver.hpp>

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

Public Member Functions

 XalanSimplePrefixResolver (const XalanDOMString &thePrefix, const XalanDOMString &theNamespaceURI, const XalanDOMString &theURI)
 
virtual ~XalanSimplePrefixResolver ()
 
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 ()
 

Public Attributes

const XalanDOMStringm_prefix
 
const XalanDOMStringm_namespaceURI
 
const XalanDOMStringm_uri
 

Detailed Description

Definition at line 36 of file XalanSimplePrefixResolver.hpp.

Constructor & Destructor Documentation

◆ XalanSimplePrefixResolver()

xalanc::XalanSimplePrefixResolver::XalanSimplePrefixResolver ( const XalanDOMString thePrefix,
const XalanDOMString theNamespaceURI,
const XalanDOMString theURI 
)

◆ ~XalanSimplePrefixResolver()

virtual xalanc::XalanSimplePrefixResolver::~XalanSimplePrefixResolver ( )
virtual

Member Function Documentation

◆ getNamespaceForPrefix()

virtual const XalanDOMString* xalanc::XalanSimplePrefixResolver::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::XalanSimplePrefixResolver::getURI ( ) const
virtual

Retrieve the base URI for the resolver.

Returns
URI string

Implements xalanc::PrefixResolver.

Member Data Documentation

◆ m_namespaceURI

const XalanDOMString& xalanc::XalanSimplePrefixResolver::m_namespaceURI

Definition at line 59 of file XalanSimplePrefixResolver.hpp.

◆ m_prefix

const XalanDOMString& xalanc::XalanSimplePrefixResolver::m_prefix

Definition at line 57 of file XalanSimplePrefixResolver.hpp.

◆ m_uri

const XalanDOMString& xalanc::XalanSimplePrefixResolver::m_uri

Definition at line 61 of file XalanSimplePrefixResolver.hpp.


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