org.apache.ode.utils.xsd
Class XSTypes
java.lang.Object
org.apache.ode.utils.xsd.XSTypes
public class XSTypes
- extends java.lang.Object
Analyzes schema types and provides facilities to convert them
to java types.
Method Summary |
static boolean |
isBoolean(javax.xml.namespace.QName type)
|
static boolean |
isDate(javax.xml.namespace.QName type)
|
static boolean |
isDecimal(javax.xml.namespace.QName type)
|
static boolean |
isFloat(javax.xml.namespace.QName type)
|
static boolean |
isNumber(javax.xml.namespace.QName type)
|
static boolean |
isString(javax.xml.namespace.QName type)
|
static java.lang.Object |
toJavaObject(javax.xml.namespace.QName type,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSTypes
public XSTypes()
toJavaObject
public static java.lang.Object toJavaObject(javax.xml.namespace.QName type,
java.lang.String value)
isNumber
public static boolean isNumber(javax.xml.namespace.QName type)
isDate
public static boolean isDate(javax.xml.namespace.QName type)
isString
public static boolean isString(javax.xml.namespace.QName type)
isDecimal
public static boolean isDecimal(javax.xml.namespace.QName type)
isFloat
public static boolean isFloat(javax.xml.namespace.QName type)
isBoolean
public static boolean isBoolean(javax.xml.namespace.QName type)