public final class XmpGuid extends XmpValueBase
Represents XMP global unique identifier.
Constructor and Description |
---|
XmpGuid(String value)
Initializes a new instance of the
XmpGuid class. |
XmpGuid(UUID value)
Initializes a new instance of the
XmpGuid class. |
Modifier and Type | Method and Description |
---|---|
UUID |
getValue()
Gets the value.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
toString
acceptValue, getRawValue, getType, toArray, toClass
public XmpGuid(String value)
Initializes a new instance of the XmpGuid
class.
value
- The value.ArgumentNullException
- Value could not be null.ArgumentException
- Invalid GUID value.public XmpGuid(UUID value)
Initializes a new instance of the XmpGuid
class.
value
- The unique identifier.public final UUID getValue()
Gets the value.
public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpValueBase
string
contained XMP representation.