Enum MetapathExpression.ResultType
- java.lang.Object
-
- java.lang.Enum<MetapathExpression.ResultType>
-
- gov.nist.secauto.metaschema.core.metapath.MetapathExpression.ResultType
-
- All Implemented Interfaces:
Serializable
,Comparable<MetapathExpression.ResultType>
- Enclosing class:
- MetapathExpression
public static enum MetapathExpression.ResultType extends Enum<MetapathExpression.ResultType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MetapathExpression.ResultType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MetapathExpression.ResultType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMBER
public static final MetapathExpression.ResultType NUMBER
-
STRING
public static final MetapathExpression.ResultType STRING
-
BOOLEAN
public static final MetapathExpression.ResultType BOOLEAN
-
SEQUENCE
public static final MetapathExpression.ResultType SEQUENCE
-
NODE
public static final MetapathExpression.ResultType NODE
-
-
Method Detail
-
values
public static MetapathExpression.ResultType[] 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 (MetapathExpression.ResultType c : MetapathExpression.ResultType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetapathExpression.ResultType 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
-
-