XmpGuid

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

public final class XmpGuid extends XmpTypeBase

Represents XMP global unique identifier.

Constructors

ConstructorDescription
XmpGuid(String value)Initializes a new instance of the XmpGuid class.
XmpGuid(UUID guid)Initializes a new instance of the XmpGuid class.

Methods

MethodDescription
getPrefix()Gets or sets the prefix like uuid.
setPrefix(String value)Gets or sets the prefix like uuid.
getValue()Gets or sets the value.
setValue(UUID value)Gets or sets the value.
getXmpRepresentation()Gets the string contained value in XMP format.

XmpGuid(String value)

public XmpGuid(String value)

Initializes a new instance of the XmpGuid class.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value.

XmpGuid(UUID guid)

public XmpGuid(UUID guid)

Initializes a new instance of the XmpGuid class.

Parameters:

ParameterTypeDescription
guidjava.util.UUIDThe unique identifier.

getPrefix()

public String getPrefix()

Gets or sets the prefix like uuid.

Value: The prefix like uuid.

Returns: java.lang.String

setPrefix(String value)

public void setPrefix(String value)

Gets or sets the prefix like uuid.

Value: The prefix like uuid.

Parameters:

ParameterTypeDescription
valuejava.lang.String

getValue()

public UUID getValue()

Gets or sets the value.

Value: The value.

Returns: java.util.UUID

setValue(UUID value)

public void setValue(UUID value)

Gets or sets the value.

Value: The value.

Parameters:

ParameterTypeDescription
valuejava.util.UUID

getXmpRepresentation()

public String getXmpRepresentation()

Gets the string contained value in XMP format.

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