|
Oracle® XML Java API Reference 10g Release 1 (10.1) B12024-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface extends the NodeEditVAL interface with additional methods for document editing. An object implementing this interface must also implement CharacterData interface.
See also the Document Object Model (DOM) Level 3 Validation Specification.
| Field Summary |
| Fields inherited from interface org.w3c.dom.validation.NodeEditVAL |
VAL_FALSE, VAL_INCOMPLETE, VAL_NS_WF, VAL_SCHEMA, VAL_TRUE, VAL_UNKNOWN, VAL_WF |
| Method Summary | |
short |
canAppendData(java.lang.String arg)Determines if data can be appended. |
short |
canDeleteData(int offset, int count)Determines if data can be deleted. |
short |
canInsertData(int offset, java.lang.String arg)Determines if data can be inserted. |
short |
canReplaceData(int offset, int count, java.lang.String arg)Determines if data can be replaced. |
short |
canSetData(java.lang.String arg)Determines if data can be set. |
short |
isWhitespaceOnly()Determines if data is only whitespace. |
| Methods inherited from interface org.w3c.dom.validation.NodeEditVAL |
canAppendChild, canInsertBefore, canRemoveChild, canReplaceChild, getDefaultValue, getEnumeratedValues, nodeValidity |
| Method Detail |
public short isWhitespaceOnly()
public short canSetData(java.lang.String arg)
arg - Argument to be set.public short canAppendData(java.lang.String arg)
arg - Data to be appended.
public short canReplaceData(int offset,
int count,
java.lang.String arg)
throws DOMException
offset - Offset.count - Replacement.arg - Argument to be set.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.
public short canInsertData(int offset,
java.lang.String arg)
throws DOMException
offset - Offset.arg - Argument to be set.DOMException - INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than the number of 16-bit units in data.
public short canDeleteData(int offset,
int count)
throws DOMException
offset - Offset.count - Number of 16-bit units to delete.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.
|
Oracle® XML Java API Reference 10g Release 1 (10.1) B12024-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||