XmpInteger

Inheritance: java.lang.Object, com.aspose.imaging.xmp.types.XmpTypeBase

public final class XmpInteger extends XmpTypeBase

Represents XMP Integer basic type.

Constructors

ConstructorDescription
XmpInteger(long value)Initializes a new instance of the XmpInteger class.
XmpInteger(int value)Initializes a new instance of the XmpInteger class.
XmpInteger(String value)Initializes a new instance of the XmpInteger class.

Methods

MethodDescription
getValue()Gets or sets the value.
setValue(long value)Gets or sets the value.
getXmpRepresentation()Gets the string contained value in XMP format.

XmpInteger(long value)

public XmpInteger(long value)

Initializes a new instance of the XmpInteger class.

Parameters:

ParameterTypeDescription
valuelongThe value.

XmpInteger(int value)

public XmpInteger(int value)

Initializes a new instance of the XmpInteger class.

Parameters:

ParameterTypeDescription
valueintThe value.

XmpInteger(String value)

public XmpInteger(String value)

Initializes a new instance of the XmpInteger class.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value.

getValue()

public long getValue()

Gets or sets the value.

Value: The value.

Returns: long

setValue(long value)

public void setValue(long value)

Gets or sets the value.

Value: The value.

Parameters:

ParameterTypeDescription
valuelong

getXmpRepresentation()

public String getXmpRepresentation()

Gets the string contained value in XMP format.

Returns: java.lang.String - Returns the string contained value in XMP format.