Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Classes | Public Types | Public Member Functions | Protected Member Functions

XalanDocumentPrefixResolver Class Reference

#include <XalanDocumentPrefixResolver.hpp>

Inherits PrefixResolver.

Collaboration diagram for XalanDocumentPrefixResolver:
Collaboration graph
[legend]

List of all members.

Classes

Public Types

Public Member Functions

Protected Member Functions


Detailed Description

Definition at line 60 of file XalanDocumentPrefixResolver.hpp.


Member Typedef Documentation

Definition at line 64 of file XalanDocumentPrefixResolver.hpp.

Definition at line 66 of file XalanDocumentPrefixResolver.hpp.


Constructor & Destructor Documentation

XalanDocumentPrefixResolver::XalanDocumentPrefixResolver ( const XalanDocument theDocument,
const XalanDOMString theURI = XalanDOMString(XalanMemMgrs::getDummyMemMgr()),
MemoryManager &  theManager = XalanMemMgrs::getDefaultXercesMemMgr() 
)

Constructor.

Parameters:
theDocument The XalanDocument instance to use for namespace bindings.
theURI The base URI for the instance. This is rarely needed, but can be provided if the URI for the XalanDocument instance is known.
virtual XalanDocumentPrefixResolver::~XalanDocumentPrefixResolver (  )  [virtual]

Member Function Documentation

virtual const XalanDOMString* XalanDocumentPrefixResolver::duplicateBinding ( const AttributeVectorType theVector  )  const [protected, virtual]

This function is called when more than one binding exists for a given prefix.

The default behavior uses the first binding, but a deriving class can change that behavior by overriding.

Parameters:
theVector The vector associated with the namespace prefix.
Returns:
A pointer to a const XalanDOMString containing the desired binding, or NULL.
virtual const XalanDOMString* XalanDocumentPrefixResolver::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:
prefix Prefix to resolve
Returns:
namespace that prefix resolves to, or null if prefix is not found

Implements PrefixResolver.

virtual const XalanDOMString& XalanDocumentPrefixResolver::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