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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.CharSequence
getCharSequence()
java.lang.String
getLang()
int
getStartOffset()
-
-
-
Method Detail
-
getCharSequence
java.lang.CharSequence getCharSequence()
- Returns:
- The char sequence.
-
getLang
java.lang.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.
-
-