Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanDocumentPrefixResolver Class Reference

Inheritance diagram for XalanDocumentPrefixResolver:

PrefixResolver List of all members.

Public Types

Public Member Functions

Protected Member Functions

Classes


Member Typedef Documentation

typedef AttributeVectorTypeDecl XalanDocumentPrefixResolver::AttributeVectorType
 

typedef XalanMap<const XalanDOMString*, AttributeVectorType> XalanDocumentPrefixResolver::NamespacesMapType
 


Constructor & Destructor Documentation

XalanDocumentPrefixResolver::XalanDocumentPrefixResolver const XalanDocument theDocument,
const XalanDOMString theURI = XalanDOMString(XalanMemMgrs::getDummyMemMgr()),
MemoryManagerType &theManager  XALAN_DEFAULT_MEMMGR
 

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.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo