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 prefix like UUID.
|
UUID |
getValue()
Gets or set the value.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
void |
setPrefix(String value)
Gets or sets prefix like UUID.
|
void |
setValue(UUID value)
Gets or set the value.
|
toBool, toDateTime, toFloat, toGuid, toInt, toString, toStringArray
public XmpGuid(String value)
Initializes a new instance of the XmpGuid
class.
value
- The value.com.aspose.ms.System.ArgumentNullException
- Value could not be null.com.aspose.ms.System.ArgumentException
- Invalid GUID value.public XmpGuid(UUID guid)
Initializes a new instance of the XmpGuid
class.
guid
- The unique identifier.public final String getPrefix()
Gets or sets prefix like UUID.
Value: The prefix.public final void setPrefix(String value)
Gets or sets prefix like UUID.
Value: The prefix.public final UUID getValue()
Gets or set the value.
Value: The value.public final void setValue(UUID value)
Gets or set the value.
Value: The value.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpTypeBase
string
contained XMP representation.Copyright © 2017. All rights reserved.