This interface represents an output destination for data.
More...
This interface represents an output destination for data.
- See also
- XMLFormatTarget
- Since
- DOM Level 3
DOMLSOutput::DOMLSOutput |
( |
| ) |
|
|
protected |
virtual DOMLSOutput::~DOMLSOutput |
( |
| ) |
|
|
virtual |
Returns the byte stream for this input source.
- See also
- InputSource
virtual const XMLCh* 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* 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 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 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 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: