@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface OffsetInformation
Modifier and Type | Field and Description |
---|---|
static int |
IN_CONTENT
The offset is in character content.
|
static int |
ON_END_MARKER
The offset is on the marker representing the end range of a node.
|
static int |
ON_START_MARKER
The offset is on the marker representing the start range of a node.
|
Modifier and Type | Method and Description |
---|---|
AuthorNode |
getNodeForMarkerOffset()
If the offset is on a marker character this method returns the node which contains the marker.
|
AuthorNode |
getNodeForOffset()
Returns the parent node for the given offset.
|
int |
getPositionType()
Get the type of position the offset has.
|
static final int IN_CONTENT
static final int ON_START_MARKER
static final int ON_END_MARKER
AuthorNode getNodeForMarkerOffset()
If the offset is on a marker character this method returns the node which contains the marker. Example on the situations when this method returns a node:
AuthorNode getNodeForOffset()
null
.null
.int getPositionType()
IN_CONTENT
or ON_START_MARKER
or ON_END_MARKER
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.