public class XmpBasicPackage extends XmpPackage
Represents XMP basic namespace.
| Modifier and Type | Field and Description |
|---|---|
static int |
RATING_MAX
Rating max value.
|
static int |
RATING_MIN
Rating min value.
|
static int |
RATING_REJECTED
Rating rejected value.
|
| Constructor and Description |
|---|
XmpBasicPackage()
Initializes a new instance of the
XmpBasicPackage class. |
XmpBasicPackage(String prefix,
String namespaceUri)
Initializes a new instance of the
XmpBasicPackage class. |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(String key,
String value)
Adds string property.
|
void |
setCreatedDate(Date createdDate)
Adds resource created date.
|
void |
setCreatedDate(String createdDate)
Adds resource created date.
|
void |
setCreatorTool(String creatorTool)
Sets the creator tool.
|
void |
setIdentifier(String[] idenfifier)
Sets the identifier.
|
void |
setLabel(String label)
Sets the label.
|
void |
setMetadataDate(Date metadataDate)
Adds metadata last changed date.
|
void |
setMetadataDate(String metadataDate)
Adds metadata last changed date.
|
void |
setModifyDate(Date modifiedDate)
Adds resource last modified date.
|
void |
setModifyDate(String modifiedDate)
Adds resource last modified date.
|
void |
setRating(int choise)
Sets rating.
|
clear, containsKey, get_Item, getKeys, getNamespaceUri, getPrefix, getXmlNamespace, getXmlValue, iterator, remove, set_Item, setValue, setXmpTypeValueequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final int RATING_REJECTED
Rating rejected value.
public static final int RATING_MIN
Rating min value.
public static final int RATING_MAX
Rating max value.
public XmpBasicPackage()
Initializes a new instance of the XmpBasicPackage class.
public void addValue(String key, String value)
Adds string property.
addValue in class XmpPackagekey - The string representation of key that is identified with added value.value - The string value.com.aspose.ms.System.ArgumentNullException - key;Metadata key is not providedpublic void setCreatedDate(Date createdDate)
Adds resource created date.
createdDate - Created date.public void setCreatedDate(String createdDate)
Adds resource created date.
createdDate - Created date.public void setCreatorTool(String creatorTool)
Sets the creator tool.
creatorTool - Name of tool.public void setIdentifier(String[] idenfifier)
Sets the identifier.
idenfifier - The idenfifier.public void setLabel(String label)
Sets the label.
label - The label.public void setMetadataDate(Date metadataDate)
Adds metadata last changed date.
metadataDate - Metadata date.public void setMetadataDate(String metadataDate)
Adds metadata last changed date.
metadataDate - Metadata date.public void setModifyDate(Date modifiedDate)
Adds resource last modified date.
modifiedDate - Last modified date.public void setModifyDate(String modifiedDate)
Adds resource last modified date.
modifiedDate - Last modified date.public void setRating(int choise)
Sets rating.
choise - From -1 till 5Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.