com.virtualweaver.xotics.datamodel.datatype
Class XsdFloat
java.lang.Object
com.virtualweaver.xotics.datamodel.datatype.XsdAnySimpleType
com.virtualweaver.xotics.datamodel.datatype.XsdFloat
- All Implemented Interfaces:
- java.lang.Cloneable, XoDataType, XsdDataType
- public class XsdFloat
- extends XsdAnySimpleType
- implements java.lang.Cloneable
Field Summary |
static java.lang.String |
INFINITY
|
static java.lang.String |
NAME
|
static java.lang.String |
NAN
|
Methods inherited from class com.virtualweaver.xotics.datamodel.datatype.XsdAnySimpleType |
equals, getFractionDigit, getJavaTypeValue, getLength, getMaxLength, getMinLength, getNameSpace, getPattern, getTotalDigit, matchFractionDigit, matchLength, matchMaxExclusive, matchMaxInclusive, matchMaxLength, matchMinExclusive, matchMinInclusive, matchMinLength, matchPattern, matchTotalDigit, whiteSpace |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static java.lang.String NAME
INFINITY
public static final java.lang.String INFINITY
- See Also:
- Constant Field Values
NAN
public static final java.lang.String NAN
- See Also:
- Constant Field Values
XsdFloat
public XsdFloat(java.lang.String strv)
throws java.lang.IllegalArgumentException
XsdFloat
public XsdFloat(java.lang.Float i)
XsdFloat
public XsdFloat(float i)
getFloatValue
public float getFloatValue()
createValue
public static java.lang.Object createValue(java.lang.String strv)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getAsString
public static java.lang.String getAsString(java.lang.Object v)
toString
public java.lang.String toString()
- Overrides:
toString
in class XsdAnySimpleType
clone
public java.lang.Object clone()
getJavaTypeClass
public java.lang.Class getJavaTypeClass()
- Description copied from interface:
XsdDataType
- All XSD datatypes are wrappers for a java object value. This method gives
the class of the java type of the XSD datatype value.
- Specified by:
getJavaTypeClass
in interface XsdDataType
- Specified by:
getJavaTypeClass
in class XsdAnySimpleType
getLocalName
public java.lang.String getLocalName()
- Description copied from interface:
XsdDataType
- Returns the local name of the datatype. this method is used to identify
any XSD datatype by a string, i.e. for instanciation in XPath requests.
- Specified by:
getLocalName
in interface XsdDataType
- Overrides:
getLocalName
in class XsdAnySimpleType
getWhiteSpace
public static byte getWhiteSpace()
getMaxInclusive
public static java.lang.Object getMaxInclusive()
getMinInclusive
public static java.lang.Object getMinInclusive()
getMaxExclusive
public static java.lang.Object getMaxExclusive()
getMinExclusive
public static java.lang.Object getMinExclusive()