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.
|
toStringacceptValue, getRawValue, getType, toArray, toClasspublic 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 IXmpTypegetXmpRepresentation in class XmpValueBasestring contained XMP representation.