Enum Class AccessURL_use

java.lang.Object
java.lang.Enum<AccessURL_use>
org.ivoa.dm.registry.voresource.AccessURL_use
All Implemented Interfaces:
Serializable, Comparable<AccessURL_use>, Constable

@VoDml(id="VOResource:AccessURL_use", role=enumeration) public enum AccessURL_use extends Enum<AccessURL_use>
. Enumeration AccessURL_use :
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Value base : Assume a base URL--that is, one requiring an extra portion to be appended before being invoked.
    Value dir : Assume URL points to a directory that will return a listing of files.
    Value full : Assume a full URL--that is, one that can be invoked directly without alteration.
  • Method Summary

    Modifier and Type
    Method
    Description
    static final AccessURL_use
    Return the AccessURL_use enum constant corresponding to the given string representation (value)
    final String
    Return the string representation of this enum constant (value)
    final String
    Return the string representation of this enum constant (value)
    Returns the enum constant of this class with the specified name.
    static AccessURL_use[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • FULL

      public static final AccessURL_use FULL
      Value full : Assume a full URL--that is, one that can be invoked directly without alteration. This usually returns a single document or file.
    • BASE

      public static final AccessURL_use BASE
      Value base : Assume a base URL--that is, one requiring an extra portion to be appended before being invoked.
    • DIR

      public static final AccessURL_use DIR
      Value dir : Assume URL points to a directory that will return a listing of files.
  • Method Details

    • values

      public static AccessURL_use[] 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 AccessURL_use 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
    • value

      public final String value()
      Return the string representation of this enum constant (value)
      Returns:
      string representation of this enum constant (value)
    • toString

      public final String toString()
      Return the string representation of this enum constant (value)
      Overrides:
      toString in class Enum<AccessURL_use>
      Returns:
      string representation of this enum constant (value)
      See Also:
    • fromValue

      public static final AccessURL_use fromValue(String v)
      Return the AccessURL_use enum constant corresponding to the given string representation (value)
      Parameters:
      v - string representation (value)
      Returns:
      AccessURL_use enum constant
      Throws:
      IllegalArgumentException - if there is no matching enum constant