public final class XmpResource extends ResourceBlock
Represents the XMP metadata resource.
ResourceBlock.ResourceBlockState
RESOUCE_BLOCK_SIGNATURE
Constructor and Description |
---|
XmpResource()
Initializes a new instance of the
GridAndGuidesResouce class. |
Modifier and Type | Method and Description |
---|---|
int |
getDataSize()
Gets the resource data size in bytes.
|
int |
getMinimalVersion()
Gets the minimal required psd version.
|
XmpPacketWrapper |
getXmpData()
Gets XMP data container
|
void |
setXmpData(XmpPacketWrapper value)
Set XMP data container
|
getID, getName, getSignature, getSize, save, setID, setName, validateValues
public XmpResource()
Initializes a new instance of the GridAndGuidesResouce
class.
public XmpPacketWrapper getXmpData()
Gets XMP data container
public void setXmpData(XmpPacketWrapper value)
Set XMP data container
value
- The XMP data containerpublic int getDataSize()
Gets the resource data size in bytes.
getDataSize
in class ResourceBlock
public int getMinimalVersion()
Gets the minimal required psd version.
getMinimalVersion
in class ResourceBlock