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 prefix like UUID.
|
UUID |
getValue()
Gets or set the value.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
void |
setPrefix(String value)
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 prefix like UUID.
public final void setPrefix(String value)
Sets prefix like UUID.
value
- The prefix.public final UUID getValue()
Gets or set the value.
public final void setValue(UUID value)
Gets or set 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 © 2019. All rights reserved.