XmpInteger

Inheritance: java.lang.Object, com.groupdocs.metadata.core.PropertyValue, com.groupdocs.metadata.core.XmpValueBase

public final class XmpInteger extends XmpValueBase

Represents XMP Integer basic type.

Constructors

Constructor Description
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

Method Description
getValue() Gets the value.
getXmpRepresentation() Returns string contained value in XMP format.

XmpInteger(long value)

public XmpInteger(long value)

Initializes a new instance of the XmpInteger class.

Parameters:

Parameter Type Description
value long The value.

XmpInteger(int value)

public XmpInteger(int value)

Initializes a new instance of the XmpInteger class.

Parameters:

Parameter Type Description
value int The value.

XmpInteger(String value)

public XmpInteger(String value)

Initializes a new instance of the XmpInteger class.

Parameters:

Parameter Type Description
value java.lang.String String value contained integer.

getValue()

public final long getValue()

Gets the value.

Returns: long - Integer value.

getXmpRepresentation()

public String getXmpRepresentation()

Returns string contained value in XMP format.

Returns: java.lang.String - string contained XMP representation.