public interface

CharacterDataEditAS

implements NodeEditAS
org.apache.xerces.dom3.as.CharacterDataEditAS

This interface is 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.

Summary

[Expand]
Inherited Constants
From interface org.apache.xerces.dom3.as.NodeEditAS
Public Methods
abstract boolean canAppendData(String arg)
Determines if data can be appended.
abstract boolean canDeleteData(int offset, int count)
Determines if data can be deleted.
abstract boolean canInsertData(int offset, String arg)
Determines if data can be inserted.
abstract boolean canReplaceData(int offset, int count, String arg)
Determines if data can be replaced.
abstract boolean canSetData(int offset, int count)
Determines if data can be set.
abstract boolean getIsWhitespaceOnly()
true if content only whitespace; false for non-whitespace.
[Expand]
Inherited Methods
From interface org.apache.xerces.dom3.as.NodeEditAS

Public Methods

public abstract 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.

public abstract 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.

public abstract 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.

public abstract 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.

public abstract 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.

public abstract boolean getIsWhitespaceOnly ()

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