@API(type=NOT_EXTENDABLE,
     src=PUBLIC)
public interface TextContext
| Modifier and Type | Field and Description | 
|---|---|
static int | 
EDITABLE
The returned text is in editable context. 
 | 
static int | 
EDITABLE_IN_FILTERED_CONDITIONAL_PROFILING
The returned text is in editable context but a profiling condition is applied and filters the 
 node when the output will be published.. 
 | 
static int | 
NOT_EDITABLE_IN_DELETE_CHANGE_TRACKING
The returned text is in delete change tracking context. 
 | 
static int | 
NOT_EDITABLE_IN_READ_ONLY
The returned text is in an entity or content reference. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getEditableState()
Check if we can edit at the current iterator offset. 
 | 
java.lang.CharSequence | 
getText()
Gets the current text from the context. 
 | 
int | 
getTextStartOffset()
Gets the start offset of the returned text. 
 | 
void | 
replaceText(java.lang.CharSequence newTextContent)
Replaces the current context text with the new text content. 
 | 
static final int EDITABLE
static final int EDITABLE_IN_FILTERED_CONDITIONAL_PROFILING
static final int NOT_EDITABLE_IN_DELETE_CHANGE_TRACKING
static final int NOT_EDITABLE_IN_READ_ONLY
java.lang.CharSequence getText()
int getTextStartOffset()
int getEditableState()
true if we can edit at the current iterator offset or false
        if we are in read-only content (entities, content references or delete change tracking).void replaceText(java.lang.CharSequence newTextContent)
newTextContent - The new text content.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.