@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface AuthorPersistentHighlight
extends AuthorPersistentHighlightConstants
AuthorPersistentHighlight.PersistentHighlightType:
AuthorPersistentHighlight.PersistentHighlightType.CUSTOM_HIGHLIGHT represents the Custom defined
highlights that can be managed by using the AuthorPersistentHighlighter.
The name of the processing instruction markers corresponding to this type of highlight are
oxy_custom_start and oxy_custom_end
AuthorPersistentHighlight.PersistentHighlightType.COMMENT represents the Comment highlights
which get serialized using the oxy_comment_start and
oxy_comment_end processing instruction names.
AuthorPersistentHighlight.PersistentHighlightType.CHANGE_INSERT represents the Insert
highlight from Change Tracking, with the oxy_insert_start
and oxy_insert_end corresponding processing instruction names.
AuthorPersistentHighlight.PersistentHighlightType.CHANGE_DELETE represents the Delete
highlight from Change Tracking, which get serialized by using the
oxy_delete processing instruction name.
Comment, Insert and Delete
persistent highlights can be accessed and customized by using the
AuthorReviewController.| Modifier and Type | Interface and Description |
|---|---|
static class |
AuthorPersistentHighlight.PersistentHighlightType
The
Author Persistent Highlight type. |
AUTHOR_NAME_ATTRIBUTE, COMMENT_ATTRIBUTE, COMMENT_ID, COMMENT_PARENT_ID, DONE_ATTRIBUTE_VALUE, FLAG_ATTRIBUTE, MODIFICATION_TIME| Modifier and Type | Method and Description |
|---|---|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getClonedProperties()
Returns a copy of the internal properties map.
|
int |
getEndOffset()
Get the highlight end offset.
|
int |
getStartOffset()
Get the highlight start offset.
|
AuthorPersistentHighlight.PersistentHighlightType |
getType()
The persistent highlight type.
|
int getStartOffset()
int getEndOffset()
java.util.LinkedHashMap<java.lang.String,java.lang.String> getClonedProperties()
AuthorPersistentHighlightConstants.AUTHOR_NAME_ATTRIBUTE,
AuthorPersistentHighlightConstants.MODIFICATION_TIME
AuthorPersistentHighlightConstants.AUTHOR_NAME_ATTRIBUTE,
AuthorPersistentHighlightConstants.MODIFICATION_TIME,
AuthorPersistentHighlightConstants.COMMENT_ATTRIBUTE and
AuthorPersistentHighlightConstants.COMMENT_PARENT_ID (if it is a reply)AuthorPersistentHighlightConstants.COMMENT_ID property
set
AuthorPersistentHighlighter.addHighlight(int, int, LinkedHashMap))
and can be changed using the AuthorPersistentHighlighter.setProperties(AuthorPersistentHighlight, LinkedHashMap)
method.
AuthorPersistentHighlight.PersistentHighlightType getType()
AuthorPersistentHighlight.PersistentHighlightType corresponding to this author
persistent highlight.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.