com.xml_project.morganaxdm
Class XS_yearMonthDuration
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_Duration
com.xml_project.morganaxdm.XS_yearMonthDuration
- All Implemented Interfaces:
- XS_AnyType, java.lang.Iterable<XdmItem>
public class XS_yearMonthDuration
- extends XS_Duration
Implementation of xs:yearMonthDuration
Field Summary |
static javax.xml.namespace.QName |
TypeName
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeName
public static final javax.xml.namespace.QName TypeName
getTypeName
public javax.xml.namespace.QName getTypeName()
- Specified by:
getTypeName
in interface XS_AnyType
- Overrides:
getTypeName
in class XS_Duration
getStringValue
public java.lang.String getStringValue()
- Description copied from class:
XdmItem
- Returns the string value.
- Overrides:
getStringValue
in class XS_Duration
- Returns:
- the string value.
isOrdered
public boolean isOrdered()
- Overrides:
isOrdered
in class XS_Duration
newInstance
public static XS_yearMonthDuration newInstance(XdmValue value)
throws XPathException
- Throws:
XPathException
getRestrictionBase
public static java.lang.Class<? extends XS_AnyType> getRestrictionBase()
add
public static XS_yearMonthDuration add(XS_yearMonthDuration d1,
XS_yearMonthDuration d2)
sub
public static XS_yearMonthDuration sub(XS_yearMonthDuration d1,
XS_yearMonthDuration d2)
multiply
public static XS_yearMonthDuration multiply(XS_yearMonthDuration d,
XS_Double num)
throws XPathException
- Throws:
XPathException
divide
public static XS_yearMonthDuration divide(XS_yearMonthDuration d,
XS_Double num)
throws XPathException
- Throws:
XPathException
divide
public static XS_Decimal divide(XS_yearMonthDuration d1,
XS_yearMonthDuration d2)
throws XPathException
- Throws:
XPathException