com.xml_project.morganaxdm
Class XS_gYear

java.lang.Object
  extended by com.xml_project.morganaxdm.XdmSequence
      extended by com.xml_project.morganaxdm.XdmItem
          extended by com.xml_project.morganaxdm.XdmValue
              extended by com.xml_project.morganaxdm.XS_AnySimpleType
                  extended by com.xml_project.morganaxdm.XS_AnyAtomicType
                      extended by com.xml_project.morganaxdm.XS_Calendar
                          extended by com.xml_project.morganaxdm.XS_gYear
All Implemented Interfaces:
XS_AnyType, java.lang.Iterable<XdmItem>

public class XS_gYear
extends XS_Calendar

Implementation of xs:gYear


Nested Class Summary
 
Nested classes/interfaces inherited from class com.xml_project.morganaxdm.XS_AnyAtomicType
XS_AnyAtomicType.ValueComparers
 
Field Summary
static javax.xml.namespace.QName TypeName
           
 
Fields inherited from class com.xml_project.morganaxdm.XS_Calendar
DaysInMonth, NoTimeZone, StandardDate
 
Method Summary
static java.lang.Class<? extends XS_AnyType> getRestrictionBase()
           
 java.lang.String getStringValue()
          Returns the string value.
 javax.xml.namespace.QName getTypeName()
           
 java.lang.Object getValue()
          Returns the value itself.
 boolean isOrdered()
           
 XS_DateTime makeToXS_DateTime()
           
static XS_gYear newInstance(XdmValue value)
           
 
Methods inherited from class com.xml_project.morganaxdm.XS_Calendar
checkDigits, clearTimezone, compareValues, getComponent, getMicrosecondsAsString, getTimezone, getTimezoneAsDuration, getTimezoneAsXS_dayTimeDuration, getTimezoneXMLValue, hasTimezone, make2Digits, make4Digits, parseTimezone, setTimezone, setTimezone, splitTimezoneFromTime
 
Methods inherited from class com.xml_project.morganaxdm.XS_AnyAtomicType
compareValue, makeCompareResult, test
 
Methods inherited from class com.xml_project.morganaxdm.XS_AnySimpleType
compareValues, isValue
 
Methods inherited from class com.xml_project.morganaxdm.XdmValue
atomize
 
Methods inherited from class com.xml_project.morganaxdm.XdmItem
first, get, hasValues, isEmpty, iterator, size, subSequence
 
Methods inherited from class com.xml_project.morganaxdm.XdmSequence
concat, hasCommonType, normalize, serialize, serialize, serialize, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TypeName

public static final javax.xml.namespace.QName TypeName
Method Detail

getTypeName

public javax.xml.namespace.QName getTypeName()

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.

isOrdered

public boolean isOrdered()
Specified by:
isOrdered in class XS_AnyAtomicType

newInstance

public static XS_gYear newInstance(XdmValue value)
                            throws XPathException
Throws:
XPathException

getRestrictionBase

public static java.lang.Class<? extends XS_AnyType> getRestrictionBase()

makeToXS_DateTime

public XS_DateTime makeToXS_DateTime()
Specified by:
makeToXS_DateTime in class XS_Calendar