Enum AuthorPersistentHighlight.PersistentHighlightType
- java.lang.Object
-
- java.lang.Enum<AuthorPersistentHighlight.PersistentHighlightType>
-
- ro.sync.ecss.extensions.api.highlights.AuthorPersistentHighlight.PersistentHighlightType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuthorPersistentHighlight.PersistentHighlightType>
- Enclosing interface:
- AuthorPersistentHighlight
public static enum AuthorPersistentHighlight.PersistentHighlightType extends java.lang.Enum<AuthorPersistentHighlight.PersistentHighlightType>
TheAuthor Persistent Highlight
type.
CUSTOM_HIGHLIGHT
represents theCustom defined highlights
that can be managed by using theAuthorPersistentHighlighter
. The name of the processing instruction markers corresponding to this type of highlight areoxy_custom_start
andoxy_custom_end
COMMENT
represents theComment highlights
which get serialized using theoxy_comment_start
andoxy_comment_end
processing instruction names.
CHANGE_INSERT
represents theInsert highlight from Change Tracking
, with theoxy_insert_start
andoxy_insert_end
corresponding processing instruction names.
CHANGE_DELETE
represents theDelete highlight from Change Tracking
, which get serialized by using theoxy_delete
processing instruction name.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGE_ATTRIBUTE_DELETED
Attribute change delete.CHANGE_ATTRIBUTE_INSERTED
Attribute change insert.CHANGE_ATTRIBUTE_MODIFIED
Attribute change modified.CHANGE_DELETE
Delete change highlightCHANGE_INSERT
Insert change highlightCOMMENT
Comment persistent highlightCUSTOM_HIGHLIGHT
Custom persistent highlight
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthorPersistentHighlight.PersistentHighlightType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuthorPersistentHighlight.PersistentHighlightType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMENT
public static final AuthorPersistentHighlight.PersistentHighlightType COMMENT
Comment persistent highlight
-
CUSTOM_HIGHLIGHT
public static final AuthorPersistentHighlight.PersistentHighlightType CUSTOM_HIGHLIGHT
Custom persistent highlight
-
CHANGE_INSERT
public static final AuthorPersistentHighlight.PersistentHighlightType CHANGE_INSERT
Insert change highlight
-
CHANGE_DELETE
public static final AuthorPersistentHighlight.PersistentHighlightType CHANGE_DELETE
Delete change highlight
-
CHANGE_ATTRIBUTE_INSERTED
public static final AuthorPersistentHighlight.PersistentHighlightType CHANGE_ATTRIBUTE_INSERTED
Attribute change insert.
-
CHANGE_ATTRIBUTE_MODIFIED
public static final AuthorPersistentHighlight.PersistentHighlightType CHANGE_ATTRIBUTE_MODIFIED
Attribute change modified.
-
CHANGE_ATTRIBUTE_DELETED
public static final AuthorPersistentHighlight.PersistentHighlightType CHANGE_ATTRIBUTE_DELETED
Attribute change delete.
-
-
Method Detail
-
values
public static AuthorPersistentHighlight.PersistentHighlightType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuthorPersistentHighlight.PersistentHighlightType c : AuthorPersistentHighlight.PersistentHighlightType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthorPersistentHighlight.PersistentHighlightType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-