Top Fields Methods
org.apache.xerces.dom3.as

public Interface CharacterDataEditAS

extends NodeEditAS

Deprecated

This interface extends the 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.

Field Summary

Inherited from org.apache.xerces.dom3.as.NodeEditAS:
NS_WF_CHECKPARTIAL_VALIDITY_CHECKSTRICT_VALIDITY_CHECKWF_CHECK

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if no reason it can't be done; false if it can't be done.
canAppendData
(String
Argument to be appended.
arg
)

Determines if data can be appended.

public boolean

Returns:

true if no reason it can't be done; false if it can't be done.
canDeleteData
(int
Offset.
offset
,
int
Number of 16-bit units to delete.
count
)

Determines if data can be deleted.

public boolean

Returns:

true if no reason it can't be done; false if it can't be done.
canInsertData
(int
Offset.
offset
,
String
Argument to be set.
arg
)

Determines if data can be inserted.

public boolean

Returns:

true if no reason it can't be done; false if it can't be done.
canReplaceData
(int
Offset.
offset
,
int
Replacement.
count
,
String
Argument to be set.
arg
)

Determines if data can be replaced.

public boolean

Returns:

true if no reason it can't be done; false if it can't be done.
canSetData
(int
Offset.
offset
,
int
Argument to be set.
count
)

Determines if data can be set.

public boolean
getIsWhitespaceOnly()

true if content only whitespace; false for non-whitespace.

Inherited from org.apache.xerces.dom3.as.NodeEditAS:
canAppendChildcanInsertBeforecanRemoveChildcanReplaceChildisNodeValid

Method Detail

canAppendDataback to summary
public boolean canAppendData(String arg)

Determines if data can be appended.

Parameters
arg:String

Argument to be appended.

Returns:boolean

true if no reason it can't be done; false if it can't be done.

canDeleteDataback to summary
public boolean canDeleteData(int offset, int count)

Determines if data can be deleted.

Parameters
offset:int

Offset.

count:int

Number of 16-bit units to delete.

Returns:boolean

true if no reason it can't be done; false if it can't be done.

canInsertDataback to summary
public boolean canInsertData(int offset, String arg)

Determines if data can be inserted.

Parameters
offset:int

Offset.

arg:String

Argument to be set.

Returns:boolean

true if no reason it can't be done; false if it can't be done.

canReplaceDataback to summary
public boolean canReplaceData(int offset, int count, String arg)

Determines if data can be replaced.

Parameters
offset:int

Offset.

count:int

Replacement.

arg:String

Argument to be set.

Returns:boolean

true if no reason it can't be done; false if it can't be done.

canSetDataback to summary
public boolean canSetData(int offset, int count)

Determines if data can be set.

Parameters
offset:int

Offset.

count:int

Argument to be set.

Returns:boolean

true if no reason it can't be done; false if it can't be done.

getIsWhitespaceOnlyback to summary
public boolean getIsWhitespaceOnly()

true if content only whitespace; false for non-whitespace.