public final class XmpInteger extends XmpTypeBase
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.
|
void |
setValue(long value)
Sets the value.
|
toBool, toDateTime, toFloat, toGuid, toInt, toString, toStringArray
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.com.aspose.ms.System.ArgumentNullException
- Value could not be null.com.aspose.ms.System.ArgumentException
- Invalid string value.public final long getValue()
Gets the value.
public final void setValue(long value)
Sets the value.
value
- Integer value.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpTypeBase
string
contained XMP representation.Copyright © 2018. All rights reserved.