public final class XmpReal extends XmpValueBase
Represents XMP Real.
Constructor and Description |
---|
XmpReal(double value)
Initializes a new instance of the
XmpReal class. |
XmpReal(String value)
Initializes a new instance of the
XmpReal class. |
Modifier and Type | Method and Description |
---|---|
double |
getValue()
Gets the value.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
toString
acceptValue, getRawValue, getType, toArray, toClass
public XmpReal(double value)
Initializes a new instance of the XmpReal
class.
value
- Double value.public XmpReal(String value)
Initializes a new instance of the XmpReal
class.
value
- The value.ArgumentNullException
- Value could not be null.ArgumentException
- Invalid value. Should be double.public final double getValue()
Gets the value.
public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpValueBase
string
contained XMP representation.