Package org.ivoa.dm.registry.voresource
Enum Class 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 ConstantsEnum ConstantDescriptionValue 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 TypeMethodDescriptionstatic final AccessURL_useReturn the AccessURL_use enum constant corresponding to the given string representation (value)final StringtoString()Return the string representation of this enum constant (value)final Stringvalue()Return the string representation of this enum constant (value)static AccessURL_useReturns the enum constant of this class with the specified name.static AccessURL_use[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
Value base : Assume a base URL--that is, one requiring an extra portion to be appended before being invoked. -
DIR
Value dir : Assume URL points to a directory that will return a listing of files.
-
-
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
-
value
Return the string representation of this enum constant (value)- Returns:
- string representation of this enum constant (value)
-
toString
Return the string representation of this enum constant (value)- Overrides:
toStringin classEnum<AccessURL_use>- Returns:
- string representation of this enum constant (value)
- See Also:
-
fromValue
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
-