public enum SiaVersion extends Enum<SiaVersion>
Enum Constant and Description |
---|
V10
SIA version 1.0.
|
V20
SIA version 2.0.
|
Modifier and Type | Method and Description |
---|---|
abstract StarTable |
executeQuery(String serviceUrl,
double ra,
double dec,
double size,
SiaFormatOption format,
StarTableFactory factory,
ContentCoding coding)
Performs an SIA positional query.
|
static SiaVersion |
forInterface(RegCapabilityInterface intf)
Returns the version object appropriate for use with a given
capability interface.
|
String |
getDocumentUrl()
Returns the URL of the standards document defining this version.
|
int |
getMajorVersion()
Returns the major version number.
|
Ivoid |
getStandardId()
Returns the StandardsRegExt identifier associated with this
version of the SIA standard.
|
String |
toString() |
boolean |
usesUcd1()
Returns true if query responses use the UCD1 standard,
false if they use the UCD1+ standard.
|
static SiaVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SiaVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SiaVersion V10
public static final SiaVersion V20
public static SiaVersion[] values()
for (SiaVersion c : SiaVersion.values()) System.out.println(c);
public static SiaVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getMajorVersion()
public String getDocumentUrl()
public Ivoid getStandardId()
public boolean usesUcd1()
public abstract StarTable executeQuery(String serviceUrl, double ra, double dec, double size, SiaFormatOption format, StarTableFactory factory, ContentCoding coding) throws IOException
size
parameter defines an angular extent such as
the width of a rectangular region or a diameter (not radius)
of a cone.serviceUrl
- base URL for SIA service query resourcera
- central right ascension position in degreesdec
- central declination position in degreessize
- extent of query in degreesformat
- required format for query result records returnedfactory
- table factorycoding
- content coding for communicationsIOException
public String toString()
toString
in class Enum<SiaVersion>
public static SiaVersion forInterface(RegCapabilityInterface intf)
intf
- interfaceCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.