com.xml_project.morganaxdm
Class XS_String
java.lang.Object
com.xml_project.morganaxdm.XdmSequence
com.xml_project.morganaxdm.XdmItem
com.xml_project.morganaxdm.XdmValue
com.xml_project.morganaxdm.XS_AnySimpleType
com.xml_project.morganaxdm.XS_AnyAtomicType
com.xml_project.morganaxdm.XS_String
- All Implemented Interfaces:
- XS_AnyType, java.lang.Iterable<XdmItem>
- Direct Known Subclasses:
- XS_NormalizedString
public class XS_String
- extends XS_AnyAtomicType
Implementation of xs:string
Constructor Summary |
XS_String(java.lang.String val)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TypeName
public static final javax.xml.namespace.QName TypeName
EMPTY_STRING
public static XS_String EMPTY_STRING
XS_String
public XS_String(java.lang.String val)
getTypeName
public javax.xml.namespace.QName getTypeName()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getStringValue
public java.lang.String getStringValue()
- Description copied from class:
XdmItem
- Returns the string value.
- Specified by:
getStringValue
in class XdmItem
- Returns:
- the string value.
getValue
public java.lang.Object getValue()
- Description copied from class:
XdmItem
- Returns the value itself.
- Specified by:
getValue
in class XdmItem
- Returns:
- the value.
getStringLength
public int getStringLength()
getRestrictionBase
public static java.lang.Class<? extends XS_AnyType> getRestrictionBase()
compareValues
public int compareValues(XS_AnySimpleType val,
com.xml_project.morganaxquery.configuration.Collation collation,
XS_dayTimeDuration implicitTimezone)
throws XPathException
- Specified by:
compareValues
in class XS_AnySimpleType
- Throws:
XPathException
isOrdered
public boolean isOrdered()
- Specified by:
isOrdered
in class XS_AnyAtomicType
fromCodepoints
public static final XS_String fromCodepoints(java.lang.Integer[] a)
toCodepoints
public static final java.lang.Integer[] toCodepoints(XS_String string)