Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

XSECURIResolverXerces Class Reference
[Main Signature API]

#include <XSECURIResolverXerces.hpp>

Inheritance diagram for XSECURIResolverXerces:

Inheritance graph
[legend]
Collaboration diagram for XSECURIResolverXerces:

Collaboration graph
[legend]
List of all members.

Detailed Description

URIResolver implementation class based on Xerces functions.

This class provides the default implementation of the XSECURIResolver class. If no other resolver is specified, the XSECProvider will install this into the Signatures that are created.

The class is very simple - it calls on the Xerces functions to provide primitive URI resolving support.


Public Member Functions

Constructors and Destructors
 XSECURIResolverXerces (const XMLCh *baseURI=0)
 Constructor.
virtual ~XSECURIResolverXerces ()
Interface Methods
virtual XERCES_CPP_NAMESPACE_QUALIFIER
BinInputStream * 
resolveURI (const XMLCh *uri)
 Create a BYTE_STREAM from a URI.
virtual XSECURIResolverclone (void)
 Clone the resolver to be installed in a new object.
XSECURIResolverXerces Specific Methods
void setBaseURI (const XMLCh *uri)
 Set the base URI for relative URIs.


Constructor & Destructor Documentation

XSECURIResolverXerces::XSECURIResolverXerces const XMLCh *  baseURI = 0  ) 
 

Constructor.

Parameters:
baseURI Provide a URI that relative URIs can be matched to.

virtual XSECURIResolverXerces::~XSECURIResolverXerces  )  [virtual]
 


Member Function Documentation

virtual XSECURIResolver* XSECURIResolverXerces::clone void   )  [virtual]
 

Clone the resolver to be installed in a new object.

When URIResolvers are passed into signatures and other objects, they are cloned and control of the original object is left with the caller.

Implements XSECURIResolver.

virtual XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream* XSECURIResolverXerces::resolveURI const XMLCh *  uri  )  [virtual]
 

Create a BYTE_STREAM from a URI.

The resolver is required to take the input URI and dereference it to an actual stream of octets.

Parameters:
uri The string containing the URI to be de-referenced.
Returns:
The octet stream corresponding to the URI.

Implements XSECURIResolver.

void XSECURIResolverXerces::setBaseURI const XMLCh *  uri  ) 
 

Set the base URI for relative URIs.


The documentation for this class was generated from the following file:
Generated on Sun Jul 3 17:46:09 2005 for XML-Security-C by  doxygen 1.4.2