water.parser
Enum PMMLParser.DataTypes
java.lang.Object
java.lang.Enum<PMMLParser.DataTypes>
water.parser.PMMLParser.DataTypes
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PMMLParser.DataTypes>
- Enclosing class:
- PMMLParser
public static enum PMMLParser.DataTypes
- extends java.lang.Enum<PMMLParser.DataTypes>
Features datatypes promoted by PMML spec. These appear before we know what
kind of model we are parsing, so must be parsed globally (for all models).
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DOUBLE
public static final PMMLParser.DataTypes DOUBLE
INT
public static final PMMLParser.DataTypes INT
BOOLEAN
public static final PMMLParser.DataTypes BOOLEAN
STRING
public static final PMMLParser.DataTypes STRING
values
public static PMMLParser.DataTypes[] 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 (PMMLParser.DataTypes c : PMMLParser.DataTypes.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PMMLParser.DataTypes valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
parse
public static PMMLParser.DataTypes parse(java.lang.String s)
jname
public java.lang.String jname()