Enum Class XLink.Actuate

All Implemented Interfaces:
Serializable, Comparable<XLink​.Actuate>, Constable
Enclosing class:
XLink

public static enum XLink.Actuate extends Enum<XLink.Actuate>
Communicates the desired timing of traversal from the starting resource to the ending resource.
Since:
0.3
See Also:
  • Enum Constant Details

    • ON_LOAD

      public static final XLink.Actuate ON_LOAD
      Traverse to the ending resource immediately on loading the starting resource.
    • ON_REQUEST

      public static final XLink.Actuate ON_REQUEST
      Traverse from the starting resource to the ending resource only on a post-loading event triggered for this purpose.
    • OTHER

      public static final XLink.Actuate OTHER
      Behavior is unconstrained; examine other markup in link for hints.
    • NONE

      public static final XLink.Actuate NONE
      Behavior is unconstrained.
  • Method Details

    • values

      public static XLink.Actuate[] 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 XLink.Actuate 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:
      Illegal­Argument­Exception - if this enum class has no constant with the specified name
      Null­Pointer­Exception - if the argument is null