Package ro.sync.exml.workspace.api.util
Interface TextChunkDescriptor
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface TextChunkDescriptor
Descriptor for a text chunk from a document.
- Since:
- 18.1
-
Method Summary
-
Method Details
-
getCharSequence
CharSequence getCharSequence()- Returns:
- The char sequence.
-
getLang
String getLang()- Returns:
- The language code, may be null, respects the xml:lang encoding (http://www.w3.org/TR/REC-xml/) Ex: "en", "en-GB", "en-US"
-
getStartOffset
int getStartOffset()- Returns:
- Returns the start offset of the sequence in document.
-