#include <DOMLSOutput.hpp>
Public Member Functions | |
Destructor | |
virtual | ~DOMLSOutput () |
Destructor. | |
Functions introduced in DOM Level 3 | |
virtual XMLFormatTarget * | getByteStream () const =0 |
Returns the byte stream for this input source. | |
virtual const XMLCh * | getEncoding () const =0 |
An input source can be set to force the parser to assume a particular encoding for the data that input source reprsents, via the setEncoding() method. | |
virtual const XMLCh * | getSystemId () const =0 |
Get the system identifier for this input source. | |
virtual void | setByteStream (XMLFormatTarget *stream)=0 |
Sets the byte stream for this input source. | |
virtual void | setEncoding (const XMLCh *const encodingStr)=0 |
Set the encoding which will be required for use with the XML text read via a stream opened by this input source. | |
virtual void | setSystemId (const XMLCh *const systemId)=0 |
Set the system identifier for this input source. | |
Non-standard Extension | |
virtual void | release ()=0 |
Called to indicate that this DOMLSOutput is no longer in use and that the implementation may relinquish any resources associated with it. | |
Protected Member Functions | |
Hidden constructors | |
DOMLSOutput () |
xercesc::DOMLSOutput::DOMLSOutput | ( | ) | [inline, protected] |
virtual xercesc::DOMLSOutput::~DOMLSOutput | ( | ) | [inline, virtual] |
Destructor.
virtual XMLFormatTarget* xercesc::DOMLSOutput::getByteStream | ( | ) | const [pure virtual] |
Returns the byte stream for this input source.
virtual const XMLCh* xercesc::DOMLSOutput::getEncoding | ( | ) | const [pure virtual] |
An input source can be set to force the parser to assume a particular encoding for the data that input source reprsents, via the setEncoding() method.
This method returns name of the encoding that is to be forced. If the encoding has never been forced, it returns a null pointer.
virtual const XMLCh* xercesc::DOMLSOutput::getSystemId | ( | ) | const [pure virtual] |
Get the system identifier for this input source.
If the system ID is a URL, it will be fully resolved.
virtual void xercesc::DOMLSOutput::setByteStream | ( | XMLFormatTarget * | stream | ) | [pure virtual] |
Sets the byte stream for this input source.
virtual void xercesc::DOMLSOutput::setEncoding | ( | const XMLCh *const | encodingStr | ) | [pure virtual] |
Set the encoding which will be required for use with the XML text read via a stream opened by this input source.
This is usually not set, allowing the encoding to be sensed in the usual XML way. However, in some cases, the encoding in the file is known to be incorrect because of intermediate transcoding, for instance encapsulation within a MIME document.
encodingStr | The name of the encoding to force. |
virtual void xercesc::DOMLSOutput::setSystemId | ( | const XMLCh *const | systemId | ) | [pure virtual] |
Set the system identifier for this input source.
The system id is always required. The public id may be used to map to another system id, but the system id must always be present as a fall back.
If the system ID is a URL, it must be fully resolved.
systemId | The system identifier as a string. |
virtual void xercesc::DOMLSOutput::release | ( | ) | [pure virtual] |
Called to indicate that this DOMLSOutput is no longer in use and that the implementation may relinquish any resources associated with it.
Access to a released object will lead to unexpected result.