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 final boolean isNativelyCompatible(Object value)
value
- public final boolean isBoolean()
public final boolean isInteger()
public final boolean isFloat()
public final boolean isCharacter()
public final boolean isByte()
public boolean isLong()
public final boolean isDouble()
public final boolean isShort()
public final boolean isDate()
public final boolean isTimestamp()
public final boolean isString()
public final boolean isXmlValue()
public final boolean isEmpty()
Copyright © 2009–2022 Waarp. All rights reserved.