NodeEditAS
interface with
additional methods for document editing. An object implementing this
interface must also implement NodeEditAS interface.
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.
public interface CharacterDataEditAS extends NodeEditAS
NS_WF_CHECK, PARTIAL_VALIDITY_CHECK, STRICT_VALIDITY_CHECK, WF_CHECK
Modifier and Type | Method and Description |
---|---|
boolean |
canAppendData(String arg)
Deprecated.
Determines if data can be appended.
|
boolean |
canDeleteData(int offset,
int count)
Deprecated.
Determines if data can be deleted.
|
boolean |
canInsertData(int offset,
String arg)
Deprecated.
Determines if data can be inserted.
|
boolean |
canReplaceData(int offset,
int count,
String arg)
Deprecated.
Determines if data can be replaced.
|
boolean |
canSetData(int offset,
int count)
Deprecated.
Determines if data can be set.
|
boolean |
getIsWhitespaceOnly()
Deprecated.
true if content only whitespace; false for
non-whitespace. |
canAppendChild, canInsertBefore, canRemoveChild, canReplaceChild, isNodeValid
boolean getIsWhitespaceOnly()
true
if content only whitespace; false
for
non-whitespace.boolean canSetData(int offset, int count)
offset
- Offset.count
- Argument to be set.true
if no reason it can't be done;
false
if it can't be done.boolean canAppendData(String arg)
arg
- Argument to be appended.true
if no reason it can't be done;
false
if it can't be done.boolean canReplaceData(int offset, int count, String arg)
offset
- Offset.count
- Replacement.arg
- Argument to be set.true
if no reason it can't be done;
false
if it can't be done.boolean canInsertData(int offset, String arg)
offset
- Offset.arg
- Argument to be set.true
if no reason it can't be done;
false
if it can't be done.boolean canDeleteData(int offset, int count)
offset
- Offset.count
- Number of 16-bit units to delete.true
if no reason it can't be done;
false
if it can't be done.Copyright © 2018 JBoss by Red Hat. All rights reserved.