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