|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Syntax>
uk.me.nxg.unity.Syntax
public enum Syntax
An enumeration of the allowed syntaxes within the Unity libary.
Enum Constant Summary | |
---|---|
CDS
The syntax for CDS-format strings. |
|
DEBUG
The formatter (not parser) for debugging output. |
|
FITS
The syntax for FITS-format strings. |
|
LATEX
The formatter (not parser) for LaTeX/siunitx output. |
|
OGIP
The syntax for OGIP-format strings. |
|
VOUNITS
The syntax for VOUnit-format strings. |
Method Summary | |
---|---|
boolean |
isReadable()
Indicates whether the syntax is a readable one. |
boolean |
isWritable()
Indicates whether the syntax is a writable one. |
static Syntax |
lookup(String name)
Look up a syntax enumeration from a string name. |
String |
toString()
Returns a string version of the syntax name |
static Syntax |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Syntax[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Syntax VOUNITS
public static final Syntax FITS
public static final Syntax OGIP
public static final Syntax CDS
http://cdsweb.u-strasbg.fr/doc/catstd-3.2.htx
public static final Syntax LATEX
public static final Syntax DEBUG
Method Detail |
---|
public static Syntax[] values()
for (Syntax c : Syntax.values()) System.out.println(c);
public static Syntax valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Syntax>
public boolean isReadable()
public boolean isWritable()
public static Syntax lookup(String name)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |