XmlManager::createURLInputStream

API Ref

#include <DbXml.hpp>

XmlInputStream *XmlManager::createURLInputStream(const std::string &base Id, const std::string &systemId, const std::string &publicId) const

XmlInputStream *XmlManager::createURLInputStream( const std::string &base Id, const std::string &systemId) const


Description: XmlManager::createURLInputStream

Creates an input stream to the identified URL. File URLs are always supported by this method. URLs that require network access (for example, http://...) are supported only if Xerces was compiled with socket support. Use this input stream with XmlContainer::putDocument or XmlDocument::setContentAsXmlInputStream.

If the input stream is passed to either of these methods, it will be adopted, and deleted. If it is not passed, it is the responsibility of the user to delete the object. Note that there is no attempt to ensure that the URI referenced contains well-formed or valid XML. Exceptions may be thrown at the time that this input stream is actually read if the stream does not contain well-formed, or valid XML.


Description: XmlInputStream *XmlManager::createURLInputStream(const std::string &baseId, const std::string &systemId, const std::string &publicId) const

Create an input stream to the specified baseId, systemId, and publicId.

Parameters

baseId
The base ID to use for this URL.
systemId
The system ID to use for this URL.
publicId
The public ID to use for this URL.

Description: XmlInputStream *XmlManager::createURLInputStream(const std::string &baseId, const std::string &systemId) const

Create an input stream to the specified baseId, systemId, and publicId.

Parameters

baseId
The base ID to use for this URL.
systemId
The system ID to use for this URL.

APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.