com.virtualweaver.xotics.datamodel.datatype
Class XsdDecimal
java.lang.Object
com.virtualweaver.xotics.datamodel.datatype.XsdAnySimpleType
com.virtualweaver.xotics.datamodel.datatype.XsdDecimal
- All Implemented Interfaces:
- java.lang.Cloneable, XoDataType, XsdDataType
- public class XsdDecimal
- extends XsdAnySimpleType
- implements java.lang.Cloneable
Field Summary |
static java.lang.String |
NAME
|
Constructor Summary |
XsdDecimal(java.math.BigDecimal bd)
|
XsdDecimal(java.lang.String strv)
Creates a new instance of XdtInteger |
Method Summary |
java.lang.Object |
clone()
|
static java.lang.Object |
createValue(java.lang.String strv)
|
static int |
getFractionDigit()
|
java.lang.Class |
getJavaTypeClass()
All XSD datatypes are wrappers for a java object value. |
java.lang.String |
getLocalName()
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. |
static int |
getTotalDigit()
|
static byte |
getWhiteSpace()
|
Methods inherited from class com.virtualweaver.xotics.datamodel.datatype.XsdAnySimpleType |
equals, getAsString, getJavaTypeValue, getLength, getMaxExclusive, getMaxInclusive, getMaxLength, getMinExclusive, getMinInclusive, getMinLength, getNameSpace, getPattern, matchFractionDigit, matchLength, matchMaxExclusive, matchMaxInclusive, matchMaxLength, matchMinExclusive, matchMinInclusive, matchMinLength, matchPattern, matchTotalDigit, toString, whiteSpace |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static java.lang.String NAME
XsdDecimal
public XsdDecimal(java.lang.String strv)
throws java.lang.IllegalArgumentException
- Creates a new instance of XdtInteger
XsdDecimal
public XsdDecimal(java.math.BigDecimal bd)
createValue
public static java.lang.Object createValue(java.lang.String strv)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
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()
getFractionDigit
public static int getFractionDigit()
getTotalDigit
public static int getTotalDigit()