goldengate.common.xml
Enum XmlType
java.lang.Object
java.lang.Enum<XmlType>
goldengate.common.xml.XmlType
- All Implemented Interfaces:
- Serializable, Comparable<XmlType>
public enum XmlType
- extends Enum<XmlType>
Type of Classes supported in Enum type
- Author:
- Frederic Bregier
BOOLEAN
public static final XmlType BOOLEAN
INTEGER
public static final XmlType INTEGER
FLOAT
public static final XmlType FLOAT
CHARACTER
public static final XmlType CHARACTER
BYTE
public static final XmlType BYTE
LONG
public static final XmlType LONG
DOUBLE
public static final XmlType DOUBLE
SHORT
public static final XmlType SHORT
SQLDATE
public static final XmlType SQLDATE
TIMESTAMP
public static final XmlType TIMESTAMP
STRING
public static final XmlType STRING
XVAL
public static final XmlType XVAL
EMPTY
public static final XmlType EMPTY
classType
public Class<?> classType
values
public static XmlType[] 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 (XmlType c : XmlType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static XmlType 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 name
NullPointerException
- if the argument is null
getClassType
public Class<?> getClassType()
- Returns:
- the associated Native Java class
isNativelyCompatible
public boolean isNativelyCompatible(Object value)
- Parameters:
value
-
- Returns:
- True if the Object is natively compatible with the internal Type
isBoolean
public boolean isBoolean()
isInteger
public boolean isInteger()
isFloat
public boolean isFloat()
isCharacter
public boolean isCharacter()
isByte
public boolean isByte()
isLong
public boolean isLong()
isDouble
public boolean isDouble()
isShort
public boolean isShort()
isDate
public boolean isDate()
isTimestamp
public boolean isTimestamp()
isString
public boolean isString()
isXmlValue
public boolean isXmlValue()
isEmpty
public boolean isEmpty()
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.