com.virtualweaver.xotics.datamodel.datatype
Class XsdBoolean
java.lang.Object
com.virtualweaver.xotics.datamodel.datatype.XsdAnySimpleType
com.virtualweaver.xotics.datamodel.datatype.XsdBoolean
- All Implemented Interfaces:
- java.lang.Cloneable, XoDataType, XsdDataType
- public class XsdBoolean
- extends XsdAnySimpleType
- implements java.lang.Cloneable
Field Summary |
static java.lang.String |
NAME
|
Method Summary |
java.lang.Object |
clone()
|
static java.lang.Object |
createValue(java.lang.String strv)
|
boolean |
getBooleanValue()
|
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 byte |
getWhiteSpace()
|
Methods inherited from class com.virtualweaver.xotics.datamodel.datatype.XsdAnySimpleType |
equals, getAsString, getFractionDigit, getJavaTypeValue, getLength, getMaxExclusive, getMaxInclusive, getMaxLength, getMinExclusive, getMinInclusive, getMinLength, getNameSpace, getPattern, getTotalDigit, 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
XsdBoolean
public XsdBoolean(java.lang.String v)
XsdBoolean
public XsdBoolean(java.lang.Boolean v)
XsdBoolean
public XsdBoolean(boolean v)
createValue
public static java.lang.Object createValue(java.lang.String strv)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
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
getBooleanValue
public boolean getBooleanValue()
clone
public java.lang.Object clone()
getWhiteSpace
public static byte getWhiteSpace()