This interface represents an output destination for data.
More...
#include <DOMLSOutput.hpp>
|
|
virtual | ~DOMLSOutput () |
| Destructor. More...
|
|
|
virtual XMLFormatTarget * | getByteStream () const =0 |
| Returns the byte stream for this input source. More...
|
|
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. More...
|
|
virtual const XMLCh * | getSystemId () const =0 |
| Get the system identifier for this input source. More...
|
|
virtual void | setByteStream (XMLFormatTarget *stream)=0 |
| Sets the byte stream for this input source. More...
|
|
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. More...
|
|
virtual void | setSystemId (const XMLCh *const systemId)=0 |
| Set the system identifier for this input source. More...
|
|
|
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. More...
|
|
This interface represents an output destination for data.
- See Also
- XMLFormatTarget
- Since
- DOM Level 3
xercesc::DOMLSOutput::DOMLSOutput |
( |
| ) |
|
|
inlineprotected |
virtual xercesc::DOMLSOutput::~DOMLSOutput |
( |
| ) |
|
|
inlinevirtual |
virtual XMLFormatTarget* xercesc::DOMLSOutput::getByteStream |
( |
| ) |
const |
|
pure virtual |
Returns the byte stream for this input source.
- See Also
- InputSource
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.
- Returns
- The forced encoding, or null if none was supplied.
- See Also
- setEncoding
- Since
- DOM Level 3
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.
- Returns
- The system identifier.
- See Also
- setSystemId
- Since
- DOM Level 3
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.
virtual void xercesc::DOMLSOutput::setByteStream |
( |
XMLFormatTarget * |
stream | ) |
|
|
pure virtual |
Sets the byte stream for this input source.
- See Also
- BinInputStream
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.
- Parameters
-
encodingStr | The name of the encoding to force. |
- Since
- DOM Level 3
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.
- Parameters
-
systemId | The system identifier as a string. |
- See Also
- getSystemId
- Since
- DOM Level 3
The documentation for this class was generated from the following file: