|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICloneNonWsPositionExtension
A special non-whitespace position object for IClone
objects.
Contains start and end offset with whitespaces ( ,\t,\n,\r) ignored.
This extension is not persisted.
Used by the CoreClonePositionUtils
and the CPC Reconciler module.
CoreClonePositionUtils.extractPositions(org.electrocodeogram.cpc.core.api.provider.data.ICloneFactoryProvider, java.util.List, String)
Method Summary | |
---|---|
int |
getEndNonWsOffset()
Retrieves the non-whitespace end offset for this clone. |
int |
getStartNonWsOffset()
Retrieves the non-whitespace start offset for the clone. |
void |
setEndNonWsOffset(int endNonWsOffset)
Sets this extensions non-whitespace end offset. |
void |
setStartNonWsOffset(int startNonWsOffset)
Sets this extensions non-whitespace start offset. |
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneObjectExtension |
---|
clone, getExtensionInterfaceClass, isPartial, setParentUuid, toString |
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneDataElement |
---|
isSealed, seal |
Method Detail |
---|
int getStartNonWsOffset()
IMPORTANT: This value is not persisted and not automatically updated during
document modifications.
If you need these values, you should update them yourself by calling:
CoreClonePositionUtils.extractPositions(ICloneFactoryProvider, List, String)
void setStartNonWsOffset(int startNonWsOffset)
getStartNonWsOffset()
int getEndNonWsOffset()
IMPORTANT: This value is not persisted and not automatically updated during
document modifications.
If you need these values, you should update them yourself by calling:
CoreClonePositionUtils.extractPositions(org.electrocodeogram.cpc.core.api.provider.data.ICloneFactoryProvider, java.util.List, String)
void setEndNonWsOffset(int endNonWsOffset)
getEndNonWsOffset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |