public enum XmlType extends Enum<XmlType>
Enum Constant and Description |
---|
BOOLEAN |
BYTE |
CHARACTER |
DOUBLE |
EMPTY |
FLOAT |
INTEGER |
LONG |
SHORT |
SQLDATE |
STRING |
TIMESTAMP |
XVAL |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getClassType() |
boolean |
isBoolean() |
boolean |
isByte() |
boolean |
isCharacter() |
boolean |
isDate() |
boolean |
isDouble() |
boolean |
isEmpty() |
boolean |
isFloat() |
boolean |
isInteger() |
boolean |
isLong() |
boolean |
isNativelyCompatible(Object value) |
boolean |
isShort() |
boolean |
isString() |
boolean |
isTimestamp() |
boolean |
isXmlValue() |
static XmlType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlType BOOLEAN
public static final XmlType INTEGER
public static final XmlType FLOAT
public static final XmlType CHARACTER
public static final XmlType BYTE
public static final XmlType LONG
public static final XmlType DOUBLE
public static final XmlType SHORT
public static final XmlType SQLDATE
public static final XmlType TIMESTAMP
public static final XmlType STRING
public static final XmlType XVAL
public static final XmlType EMPTY
public static XmlType[] values()
for (XmlType c : XmlType.values()) System.out.println(c);
public static XmlType 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 Class<?> getClassType()
public boolean isNativelyCompatible(Object value)
value
- public boolean isBoolean()
public boolean isInteger()
public boolean isFloat()
public boolean isCharacter()
public boolean isByte()
public boolean isLong()
public boolean isDouble()
public boolean isShort()
public boolean isDate()
public boolean isTimestamp()
public boolean isString()
public boolean isXmlValue()
public boolean isEmpty()
Copyright © 2009–2019 Waarp. All rights reserved.