:: com :: sun :: star :: xml :: dom ::
|
interface XCharacterData |
- Base Interfaces
XCharacterData
┗ XNode
XNode |
- (referenced interface's summary:)
- The primary dom datatype
|
|
|
Methods' Summary |
appendData |
Append the string to the end of the character data of the node.
Throws:
DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
|
deleteData |
Remove a range of 16-bit units from the node.
Throws:
DOMException - INDEX_SIZE_ERR: Raised if the specified offset is negative or greater
than the number of 16-bit units in data, or if the specified count is negative.
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
|
getData |
Return the character data of the node that implements this interface.
Throws:
DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
DOMException - DOMSTRING_SIZE_ERR: Raised when it would return more characters
than fit in a DOMString variable on the implementation platform.
|
getLength |
The number of 16-bit units that are available through data and the
substringData method below.
|
insertData |
Insert a string at the specified 16-bit unit offset.
Throws:
DOMException - INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than
the number of 16-bit units in data.
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
|
replaceData |
Replace the characters starting at the specified 16-bit unit offset
with the specified string.
Throws;
DOMException - INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than
the number of 16-bit units in data, or if the specified count is negative.
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
|
setData |
Set the character data of the node that implements this interface.
Throws:
DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
DOMException - DOMSTRING_SIZE_ERR: Raised when it would return more characters than
fit in a DOMString variable on the implementation platform.
|
subStringData |
Extracts a range of data from the node.
Throws:
DOMException - INDEX_SIZE_ERR: Raised if the specified offset is negative or greater
than the number of 16-bit units in data, or if the specified count is negative.
DOMSTRING_SIZE_ERR: Raised if the specified range of text does not fit into a DOMString.
|
Methods' Details |
appendData
- Description
- Append the string to the end of the character data of the node.
Throws:
DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
|
|
deleteData
void |
deleteData( |
[in] long |
offset, |
| [in] long |
count ) |
raises( |
DOMException ); |
- Description
- Remove a range of 16-bit units from the node.
Throws:
DOMException - INDEX_SIZE_ERR: Raised if the specified offset is negative or greater
than the number of 16-bit units in data, or if the specified count is negative.
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
|
|
getData
- Description
- Return the character data of the node that implements this interface.
Throws:
DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
DOMException - DOMSTRING_SIZE_ERR: Raised when it would return more characters
than fit in a DOMString variable on the implementation platform.
|
|
getLength
- Description
- The number of 16-bit units that are available through data and the
substringData method below.
|
|
insertData
void |
insertData( |
[in] long |
offset, |
| [in] string |
arg ) |
raises( |
DOMException ); |
- Description
- Insert a string at the specified 16-bit unit offset.
Throws:
DOMException - INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than
the number of 16-bit units in data.
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
|
|
replaceData
void |
replaceData( |
[in] long |
offset, |
| [in] long |
count, |
| [in] string |
arg ) |
raises( |
DOMException ); |
- Description
- Replace the characters starting at the specified 16-bit unit offset
with the specified string.
Throws;
DOMException - INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than
the number of 16-bit units in data, or if the specified count is negative.
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
|
|
setData
- Description
- Set the character data of the node that implements this interface.
Throws:
DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
DOMException - DOMSTRING_SIZE_ERR: Raised when it would return more characters than
fit in a DOMString variable on the implementation platform.
|
|
subStringData
string |
subStringData( |
[in] long |
offset, |
| [in] long |
count ) |
raises( |
DOMException ); |
- Description
- Extracts a range of data from the node.
Throws:
DOMException - INDEX_SIZE_ERR: Raised if the specified offset is negative or greater
than the number of 16-bit units in data, or if the specified count is negative.
DOMSTRING_SIZE_ERR: Raised if the specified range of text does not fit into a DOMString.
|
|
Top of Page
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.