Enum CommonXML.Position
- java.lang.Object
-
- java.lang.Enum<CommonXML.Position>
-
- org.gcube.data.transfer.plugins.thredds.CommonXML.Position
-
- All Implemented Interfaces:
Serializable,Comparable<CommonXML.Position>
- Enclosing class:
- CommonXML
public static enum CommonXML.Position extends Enum<CommonXML.Position>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description first_childlast_childreplacesibling_aftersibling_before
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommonXML.PositionvalueOf(String name)Returns the enum constant of this type with the specified name.static CommonXML.Position[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
sibling_after
public static final CommonXML.Position sibling_after
-
sibling_before
public static final CommonXML.Position sibling_before
-
first_child
public static final CommonXML.Position first_child
-
last_child
public static final CommonXML.Position last_child
-
replace
public static final CommonXML.Position replace
-
-
Method Detail
-
values
public static CommonXML.Position[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CommonXML.Position c : CommonXML.Position.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommonXML.Position valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-