|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-04 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
org.ecmascript.object.Object | +--org.w3c.dom.core.Node | +--org.w3c.dom.core.CharacterData
public abstract class CharacterData extends Node
Node
with a set of attributes and methods for accessing character data in the DOM. For clarity this set is defined here rather than on each object that uses these attributes and methods. No DOM objects correspond directly to CharacterData, though Text
and others do inherit the interface from it. All offsets in this interface start from 0.
Field Summary |
|
---|---|
public String |
|
public Number |
|
Fields inherited from org.w3c.dom.core.Node |
ATTRIBUTE_NODE, attributes, CDATA_SECTION_NODE, childNodes, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, firstChild, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, NOTATION_NODE, ownerDocument, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Fields inherited from org.ecmascript.object.Object |
constructor, prototype |
Method Summary |
|
---|---|
public void |
|
public void |
|
public void |
|
public void |
|
public String |
|
Methods inherited from org.w3c.dom.core.Node |
appendChild, cloneNode, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild |
Field Detail |
---|
public String data
JavaScript Code Example:
public Number length
JavaScript Code Example:
Method Detail |
---|
public void appendData(String arg)
JavaScript:
var txt = document.createTextNode('AAA-BBB');
arg |
- | The String to Append |
void
- nullDOMException
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.public void deleteData(Number offset,
Number count)
JavaScript:
var txt = document.createTextNode('AAA-BBB');
offset |
- | The offset from which to removing. |
count |
- | The number of 16-bit units to delete. If the sum of offset and count exceeds length then all 16-bit units from offset to the end of the data are deleted. |
void
- nullDOMException
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.DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.public void insertData(Number offset,
Number count)
JavaScript:
var txt = document.createTextNode('AAA-BBB');
offset |
- | The offset from which to removing. |
count |
- | The number of 16-bit units to delete. If the sum of offset and count exceeds length then all 16-bit units from offset to the end of the data are deleted. |
void
- nullDOMException
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.DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.public void replaceData(Number offset,
Number count,
String arg)
JavaScript:
var txt = document.createTextNode('AAA-BBB');
offset |
- | The offset from which to removing. |
count |
- | The number of 16-bit units to replace. If the sum of offset and count exceeds length, then all 16-bit units to the end of the data are replaced. |
arg |
- | The String with which the range must be replaced. |
void
- nullDOMException
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.DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.public String substringData(Number offset,
Number count)
JavaScript:
var txt = document.createTextNode('AAA-BBB');
offset |
- | The offset from which to extract. |
count |
- | The number of 16-bit units to extract. |
String
- The specified substring. If the sum of offset and count exceeds the length, then all 16-bit units to the end of the data are returned.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.DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-04 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |