Enum Class AnnotationWalkingControl

java.lang.Object
java.lang.Enum<AnnotationWalkingControl>
org.semanticweb.owlapi.util.AnnotationWalkingControl
All Implemented Interfaces:
Serializable, Comparable<AnnotationWalkingControl>, java.lang.constant.Constable

public enum AnnotationWalkingControl extends Enum<AnnotationWalkingControl>
Control flag for whether to walk annotations
  • Enum Constant Details

    • DONT_WALK_ANNOTATIONS

      public static final AnnotationWalkingControl DONT_WALK_ANNOTATIONS
      Do not walk any annotations
    • WALK_ONTOLOGY_ANNOTATIONS_ONLY

      public static final AnnotationWalkingControl WALK_ONTOLOGY_ANNOTATIONS_ONLY
      Only walk ontology annotations (previous behaviour)
    • WALK_ANNOTATIONS

      public static final AnnotationWalkingControl WALK_ANNOTATIONS
      Walk all annotations
  • Method Details

    • values

      public static AnnotationWalkingControl[] 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 AnnotationWalkingControl 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
    • walk

      public <T extends OWLObject> void walk(StructureWalker<T> walker, OWLObject o)
      Visit annotations on the object, if the setting allows for the annotations to be visited.
      Type Parameters:
      T - type
      Parameters:
      walker - walker to use to visit annotations
      o - object containing annotations