public final class XmpInteger extends XmpValueBase
Represents XMP Integer basic type.
Constructor and Description |
---|
XmpInteger(int value)
Initializes a new instance of the
XmpInteger class. |
XmpInteger(long value)
Initializes a new instance of the
XmpInteger class. |
XmpInteger(String value)
Initializes a new instance of the
XmpInteger class. |
Modifier and Type | Method and Description |
---|---|
long |
getValue()
Gets the value.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
toString
acceptValue, getRawValue, getType, toArray, toClass
public XmpInteger(long value)
Initializes a new instance of the XmpInteger
class.
value
- The value.public XmpInteger(int value)
Initializes a new instance of the XmpInteger
class.
value
- The value.public XmpInteger(String value)
Initializes a new instance of the XmpInteger
class.
value
- String value contained integer.ArgumentNullException
- Value could not be null.ArgumentException
- Invalid string value.public final long 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.