com.xml_project.morganaxproc.xdm
Class XS_String

java.lang.Object
  extended by com.xml_project.morganaxproc.xdm.XdmSequence
      extended by com.xml_project.morganaxproc.xdm.XdmItem
          extended by com.xml_project.morganaxproc.xdm.XdmValue
              extended by com.xml_project.morganaxproc.xdm.XS_AnySimpleType
                  extended by com.xml_project.morganaxproc.xdm.XS_AnyAtomicType
                      extended by com.xml_project.morganaxproc.xdm.XS_String
All Implemented Interfaces:
XS_AnyType, Iterable<XdmItem>
Direct Known Subclasses:
XS_NormalizedString

public class XS_String
extends XS_AnyAtomicType

Implementation of xs:string


Nested Class Summary
 
Nested classes/interfaces inherited from class com.xml_project.morganaxproc.xdm.XS_AnyAtomicType
XS_AnyAtomicType.ValueComparers
 
Field Summary
static XS_String EMPTY_STRING
           
static QName TypeName
           
 
Constructor Summary
XS_String(String val)
           
 
Method Summary
 int compareValues(XS_AnySimpleType val, com.xml_project.morganaxproc.xquery.configuration.Collation collation, XS_dayTimeDuration implicitTimezone)
           
static Class<? extends XS_AnyType> getRestrictionBase()
           
 String getStringValue()
          Returns the string value.
 QName getTypeName()
           
 Object getValue()
          Returns the value itself.
 boolean isOrdered()
           
static Integer[] toCodepoints(XS_String string)
           
 String toString()
           
 
Methods inherited from class com.xml_project.morganaxproc.xdm.XS_AnyAtomicType
compareValue, makeCompareResult, test
 
Methods inherited from class com.xml_project.morganaxproc.xdm.XS_AnySimpleType
compareValues, isValue
 
Methods inherited from class com.xml_project.morganaxproc.xdm.XdmValue
atomize
 
Methods inherited from class com.xml_project.morganaxproc.xdm.XdmItem
first, get, hasValues, isEmpty, iterator, size, subSequence
 
Methods inherited from class com.xml_project.morganaxproc.xdm.XdmSequence
concat, hasCommonType, normalize, serialize, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TypeName

public static final QName TypeName

EMPTY_STRING

public static XS_String EMPTY_STRING
Constructor Detail

XS_String

public XS_String(String val)
Method Detail

getTypeName

public QName getTypeName()

toString

public String toString()
Overrides:
toString in class Object

getStringValue

public String getStringValue()
Description copied from class: XdmItem
Returns the string value.

Specified by:
getStringValue in class XdmItem
Returns:
the string value.

getValue

public Object getValue()
Description copied from class: XdmItem
Returns the value itself.

Specified by:
getValue in class XdmItem
Returns:
the value.

getRestrictionBase

public static Class<? extends XS_AnyType> getRestrictionBase()

compareValues

public int compareValues(XS_AnySimpleType val,
                         com.xml_project.morganaxproc.xquery.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

toCodepoints

public static final Integer[] toCodepoints(XS_String string)