Enum Class AnnotationType

java.lang.Object
java.lang.Enum<AnnotationType>
org.openpdf.renderer.annotation.AnnotationType
All Implemented Interfaces:
Serializable, Comparable<AnnotationType>, Constable

public enum AnnotationType extends Enum<AnnotationType>
  • Enum Constant Details

  • Field Details

    • definition

      private String definition
    • internalId

      private int internalId
    • className

      private Class<?> className
  • Constructor Details

    • AnnotationType

      private AnnotationType(String definition, int typeId, Class<?> className)
  • Method Details

    • values

      public static AnnotationType[] 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

      public static AnnotationType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • displayAnnotation

      boolean displayAnnotation()
      Returns:
      true if this annotation type should be displayed else false.
    • getDefinition

      public String getDefinition()
      Returns:
      the definition
    • getInternalId

      public int getInternalId()
      Returns:
      the internalId
    • getClassName

      public Class<?> getClassName()
      Returns:
      the className
    • getByDefinition

      public static AnnotationType getByDefinition(String definition)
      Get annotation type by it's type
      Parameters:
      definition -
      Returns: