Enum Class AuthorPersistentHighlight.PersistentHighlightType
java.lang.Object
java.lang.Enum<AuthorPersistentHighlight.PersistentHighlightType>
ro.sync.ecss.extensions.api.highlights.AuthorPersistentHighlight.PersistentHighlightType
- All Implemented Interfaces:
Serializable
,Comparable<AuthorPersistentHighlight.PersistentHighlightType>
,Constable
- Enclosing interface:
- AuthorPersistentHighlight
public static enum AuthorPersistentHighlight.PersistentHighlightType
extends Enum<AuthorPersistentHighlight.PersistentHighlightType>
The
Author Persistent Highlight
type.
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
COMMENT
represents the Comment highlights
which get serialized using the oxy_comment_start
and
oxy_comment_end
processing instruction names.
CHANGE_INSERT
represents the Insert
highlight from Change Tracking
, with the oxy_insert_start
and oxy_insert_end
corresponding processing instruction names.
CHANGE_DELETE
represents the Delete
highlight from Change Tracking
, which get serialized by using the
oxy_delete
processing instruction name.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAttribute change delete.Attribute change insert.Attribute change modified.Delete change highlightInsert change highlightComment persistent highlightCustom persistent highlight -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMENT
Comment persistent highlight -
CUSTOM_HIGHLIGHT
Custom persistent highlight -
CHANGE_INSERT
Insert change highlight -
CHANGE_DELETE
Delete change highlight -
CHANGE_ATTRIBUTE_INSERTED
Attribute change insert. -
CHANGE_ATTRIBUTE_MODIFIED
Attribute change modified. -
CHANGE_ATTRIBUTE_DELETED
Attribute change delete.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-