xmltooling  3.0.1
xmltooling::URLInputSource Class Reference

A URL-based parser source that supports a more advanced input stream. More...

#include <xmltooling/util/ParserPool.h>

Inheritance diagram for xmltooling::URLInputSource:

Public Member Functions

 URLInputSource (const XMLCh *url, const char *systemId=0, std::string *cacheTag=0, std::string backingFile="")
 Constructor. More...
 
 URLInputSource (const xercesc::DOMElement *e, const char *systemId=0, std::string *cacheTag=0, std::string backingFile="")
 Constructor taking a DOM element supporting the following content: More...
 

Static Public Attributes

static const char asciiStatusCodeElementName []
 Element name used to signal a non-successful response when fetching a remote document. More...
 
static const XMLCh utf16StatusCodeElementName []
 Element name used to signal a non-successful response when fetching a remote document. More...
 

Detailed Description

A URL-based parser source that supports a more advanced input stream.

Constructor & Destructor Documentation

xmltooling::URLInputSource::URLInputSource ( const XMLCh *  url,
const char *  systemId = 0,
std::string *  cacheTag = 0,
std::string  backingFile = "" 
)

Constructor.

Parameters
urlsource of input
systemIdoptional system identifier to attach to the source
cacheTagoptional pointer to string used for cache management
backingFileoptional name of file to save inout stream to.
xmltooling::URLInputSource::URLInputSource ( const xercesc::DOMElement *  e,
const char *  systemId = 0,
std::string *  cacheTag = 0,
std::string  backingFile = "" 
)

Constructor taking a DOM element supporting the following content:

uri | url
identifies the remote resource
verifyHost
true iff name of host should be matched against TLS/SSL certificate
TransportOption elements, like so:
<TransportOption provider="CURL" option="150">0</TransportOption>
Parameters
eDOM to supply configuration
systemIdoptional system identifier to attach to the source
cacheTagoptional pointer to string used for cache management
backingFileoptional name of file to save inout stream to.

Member Data Documentation

const char xmltooling::URLInputSource::asciiStatusCodeElementName[]
static

Element name used to signal a non-successful response when fetching a remote document.

const XMLCh xmltooling::URLInputSource::utf16StatusCodeElementName[]
static

Element name used to signal a non-successful response when fetching a remote document.


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