org.apache.xerces.dom3.as

Interface CharacterDataEditAS

All Superinterfaces:
NodeEditAS

public interface CharacterDataEditAS
extends NodeEditAS

Fields inherited from interface org.apache.xerces.dom3.as.NodeEditAS

NS_WF_CHECK, PARTIAL_VALIDITY_CHECK, STRICT_VALIDITY_CHECK, WF_CHECK

Method Summary

boolean
canAppendData(String arg)
Determines if data can be appended.
boolean
canDeleteData(int offset, int count)
Determines if data can be deleted.
boolean
canInsertData(int offset, String arg)
Determines if data can be inserted.
boolean
canReplaceData(int offset, int count, String arg)
Determines if data can be replaced.
boolean
canSetData(int offset, int count)
Determines if data can be set.
boolean
getIsWhitespaceOnly()
true if content only whitespace; false for non-whitespace.

Methods inherited from interface org.apache.xerces.dom3.as.NodeEditAS

canAppendChild, canInsertBefore, canRemoveChild, canReplaceChild, isNodeValid

Method Details

canAppendData

public boolean canAppendData(String arg)
Determines if data can be appended.

Parameters:
arg - Argument to be appended.

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


canDeleteData

public boolean canDeleteData(int offset,
                             int count)
Determines if data can be deleted.

Parameters:
offset - Offset.
count - Number of 16-bit units to delete.

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


canInsertData

public boolean canInsertData(int offset,
                             String arg)
Determines if data can be inserted.

Parameters:
offset - Offset.
arg - Argument to be set.

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


canReplaceData

public boolean canReplaceData(int offset,
                              int count,
                              String arg)
Determines if data can be replaced.

Parameters:
offset - Offset.
count - Replacement.
arg - Argument to be set.

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


canSetData

public boolean canSetData(int offset,
                          int count)
Determines if data can be set.

Parameters:
offset - Offset.
count - Argument to be set.

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


getIsWhitespaceOnly

public boolean getIsWhitespaceOnly()
true if content only whitespace; false for non-whitespace.


Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.