Package | dom.validation |
Interface | public interface CharacterDataEditVAL extends NodeEditVAL |
Introduced in: | DOM 3 Validation |
An object implementing this interface must also implement CharacterData interface.
See also
Method | Defined By | ||
---|---|---|---|
Determines whether the Node.appendChild operation would make this document not compliant with the VAL_INCOMPLETE validity type. | NodeEditVAL | ||
Determines if character data can be appended. | CharacterDataEditVAL | ||
DOM 3 Validation canDeleteData(offset:Number, count:Number):Number
Determines if character data can be deleted. | CharacterDataEditVAL | ||
Determines whether the Node.insertBefore operation would make this document not compliant with the VAL_INCOMPLETE validity type. | NodeEditVAL | ||
Determines if character data can be inserted. | CharacterDataEditVAL | ||
Determines whether the Node.removeChild operation would make this document not compliant with the VAL_INCOMPLETE validity type. | NodeEditVAL | ||
Determines whether the Node.replaceChild operation would make this document not compliant with the VAL_INCOMPLETE validity type. | NodeEditVAL | ||
Determines if character data can be replaced. | CharacterDataEditVAL | ||
Determines if character data can be set. | CharacterDataEditVAL | ||
DOM 3 Validation isWhitespaceOnly():Number
Determines if character data is only whitespace. | CharacterDataEditVAL | ||
DOM 3 Validation nodeValidity(valType:Number):Number
Determines if the node is valid relative to the validation type specified in valType. | NodeEditVAL |
DOM 3 Validation canAppendData | () | method |
public function canAppendData(arg:DOMString):Number
Introduced in: | DOM 3 Validation |
Determines if character data can be appended.
Parameters
arg:DOMString — Data to be appended.
|
Number — A validation state constant.
|
See also
DOM 3 Validation canDeleteData | () | method |
public function canDeleteData(offset:Number, count:Number):Number
Introduced in: | DOM 3 Validation |
Determines if character data can be deleted.
Parameters
offset:Number — Offset.
| |
count:Number — Number of 16-bit units to delete.
|
Number — A validation state constant.
|
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.
|
See also
DOM 3 Validation canInsertData | () | method |
public function canInsertData(offset:Number, arg:DOMString):Number
Introduced in: | DOM 3 Validation |
Determines if character data can be inserted.
Parameters
offset:Number — Offset.
| |
arg:DOMString — Argument to be set.
|
Number — A validation state constant.
|
DOMException — INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than the number of 16-bit units in data.
|
See also
DOM 3 Validation canReplaceData | () | method |
public function canReplaceData(offset:Number, count:Number, arg:DOMString):Number
Introduced in: | DOM 3 Validation |
Determines if character data can be replaced.
Parameters
offset:Number — Offset.
| |
count:Number — Replacement.
| |
arg:DOMString — Argument to be set.
|
Number — A validation state constant.
|
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.
|
See also
DOM 3 Validation canSetData | () | method |
public function canSetData(arg:DOMString):Number
Introduced in: | DOM 3 Validation |
Determines if character data can be set.
Parameters
arg:DOMString — Argument to be set.
|
Number — A validation state constant.
|
See also
DOM 3 Validation isWhitespaceOnly | () | method |
public function isWhitespaceOnly():Number
Introduced in: | DOM 3 Validation |
Determines if character data is only whitespace.
ReturnsNumber — A validation state constant.
|
See also