com.xml_project.morganaxproc.xdm
Class XS_yearMonthDuration
java.lang.Object
com.xml_project.morganaxproc.xdm.XdmSequence
com.xml_project.morganaxproc.xdm.XdmItem
com.xml_project.morganaxproc.xdm.XdmValue
com.xml_project.morganaxproc.xdm.XS_AnySimpleType
com.xml_project.morganaxproc.xdm.XS_AnyAtomicType
com.xml_project.morganaxproc.xdm.XS_Duration
com.xml_project.morganaxproc.xdm.XS_yearMonthDuration
- All Implemented Interfaces:
- XS_AnyType, Iterable<XdmItem>
public class XS_yearMonthDuration
- extends XS_Duration
Implementation of xs:yearMonthDuration
Methods inherited from class com.xml_project.morganaxproc.xdm.XdmValue |
atomize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeName
public static final QName TypeName
getTypeName
public QName getTypeName()
- Specified by:
getTypeName
in interface XS_AnyType
- Overrides:
getTypeName
in class XS_Duration
getStringValue
public 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 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