com.xml_project.morganaxproc.xdm
Class XS_Float
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_Numeric
com.xml_project.morganaxproc.xdm.XS_Float
- All Implemented Interfaces:
- XS_AnyType, Iterable<XdmItem>
public class XS_Float
- extends XS_Numeric
Implementation of xs:float
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
NaN
public static final XS_Float NaN
NULL
public static final Float NULL
NEG_NULL
public static final Float NEG_NULL
theValue
protected final Float theValue
XS_Float
public XS_Float(float f)
getTypeName
public QName getTypeName()
- Specified by:
getTypeName
in interface XS_AnyType
- Overrides:
getTypeName
in class XS_Numeric
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.
isNaN
public boolean isNaN()
- Specified by:
isNaN
in class XS_Numeric
isInfinite
public boolean isInfinite()
effectiveBooleanValue
public boolean effectiveBooleanValue()
- Specified by:
effectiveBooleanValue
in class XS_Numeric
arithmetic
public XS_Numeric arithmetic(XS_Numeric.Operations op,
XS_Numeric v)
throws XPathException
- Specified by:
arithmetic
in class XS_Numeric
- Throws:
XPathException
function
public XS_Float function(XS_Numeric.Functions func,
int par)
throws XPathException
- Specified by:
function
in class XS_Numeric
- Throws:
XPathException
compareValues
public int compareValues(XS_AnySimpleType val)
- Specified by:
compareValues
in class XS_Numeric
getRestrictionBase
public static Class<? extends XS_AnyType> getRestrictionBase()
makeXS_Float
public static XS_Float makeXS_Float(String resp)
newInstance
public static XS_Float newInstance(XdmValue value)
throws XPathException
- Throws:
XPathException