public final class XmpGuid extends XmpTypeBase
Represents XMP global unique identifier.
Constructor and Description |
---|
XmpGuid(String value)
Initializes a new instance of the
XmpGuid class. |
XmpGuid(UUID guid)
Initializes a new instance of the
XmpGuid class. |
Modifier and Type | Method and Description |
---|---|
String |
getPrefix()
Gets or sets the prefix like uuid.
|
UUID |
getValue()
Gets or sets the value.
|
String |
getXmpRepresentation()
Gets the string contained value in XMP format.
|
void |
setPrefix(String value)
Gets or sets the prefix like uuid.
|
void |
setValue(UUID value)
Gets or sets the value.
|
public XmpGuid(String value)
Initializes a new instance of the XmpGuid
class.
value
- The value.com.aspose.ms.System.ArgumentNullException
- value is null.com.aspose.ms.System.ArgumentException
- Invalid guid value;valuepublic XmpGuid(UUID guid)
Initializes a new instance of the XmpGuid
class.
guid
- The unique identifier.public String getPrefix()
Gets or sets the prefix like uuid.
Value: The prefix like uuid.public void setPrefix(String value)
Gets or sets the prefix like uuid.
Value: The prefix like uuid.public UUID getValue()
Gets or sets the value.
Value: The value.public void setValue(UUID value)
Gets or sets the value.
Value: The value.public String getXmpRepresentation()
Gets the string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpTypeBase