Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

XSECURIResolverXerces Class Reference
[Main Signature API]

URIResolver implementation class based on Xerces functions. More...

#include <XSECURIResolverXerces.hpp>

Inheritance diagram for XSECURIResolverXerces:

Inheritance graph
[legend]
Collaboration diagram for XSECURIResolverXerces:

Collaboration graph
[legend]
List of all members.

Public Methods

Constructors and Destructors
 XSECURIResolverXerces (const char *baseURI=0)
 Constructor. More...

virtual ~XSECURIResolverXerces ()
Interface Methods
virtual BinInputStream * resolveURI (const char *uri)
 Create a BYTE_STREAM from a URI. More...

virtual XSECURIResolverclone (void)
 Clone the resolver to be installed in a new object. More...

XSECURIResolverXerces Specific Methods
void setBaseURI (const char *uri)
 Set the base URI for relative URIs. More...


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.


Constructor & Destructor Documentation

XSECURIResolverXerces::XSECURIResolverXerces const char *    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 BinInputStream* XSECURIResolverXerces::resolveURI const char *    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 char *    uri
 

Set the base URI for relative URIs.


The documentation for this class was generated from the following file:
Generated on Sat Jan 11 20:35:32 2003 for XML-Security-C by doxygen1.2.15