public final 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.
|
namespaceUri, prefix, properties
Constructor and Description |
---|
XmpBasicPackage()
Initializes a new instance of the
XmpBasicPackage class. |
Modifier and Type | Method and Description |
---|---|
void |
addValue(String key,
String value)
Adds string property.
|
String |
getBaseUrl()
Gets or sets base URL.
|
Date |
getCreateDate()
Gets or sets resource created date.
|
String |
getCreatorTool()
Gets or sets name of the tool used to create the resource.
|
String[] |
getIdentifier()
Gets or sets resource identifier.
|
String |
getLabel()
Gets or sets a word or short phrase that identifies a resource as a member of a user-defined collection.
|
Date |
getMetadataDate()
Gets or sets the date and time that any metadata for this resource was last changed.
|
Date |
getModifyDate()
Gets or sets resource last modified date.
|
String |
getNickname()
Gets or sets a short informal name for the resource.
|
int |
getRating()
Gets or sets user-assigned rating for this file.
|
Thumbnail[] |
getThumbnails()
Gets or sets thumbnails.
|
void |
setBaseUrl(String value)
Gets or sets base URL.
|
void |
setCreateDate(Date value)
Gets or sets resource created date.
|
void |
setCreatedDate(Date createdDate)
Adds resource created date.
|
void |
setCreatedDate(String createdDate)
Adds resource created date.
|
void |
setCreatorTool(String value)
Gets or sets name of the tool used to create the resource.
|
void |
setIdentifier(String[] value)
Gets or sets resource identifier.
|
void |
setLabel(String value)
Gets or sets a word or short phrase that identifies a resource as a member of a user-defined collection.
|
void |
setMetadataDate(Date value)
Gets or sets the date and time that any metadata for this resource was last changed.
|
void |
setModifyDate(Date value)
Gets or sets resource last modified date.
|
void |
setNickname(String value)
Gets or sets a short informal name for the resource.
|
void |
setRating(int value)
Gets or sets user-assigned rating for this file.
|
void |
setThumbnails(Thumbnail[] value)
Gets or sets thumbnails.
|
addValue, addValue, addValue, clear, containsKey, getGenericArray, getKeys, getKeyValueAsXml, getLangAlt, getNamespaceUri, getNodeType, getPrefix, getReal, getString, getStringArray, getXmlNamespace, getXmlValue, readByXmpKey, remove, setArray, setBoolValue, setDateValue, setIntValue, setLangAlt, setNullableInt, setRealValue, setStingArray, setTextValue, setXmpComplexTypeValue, setXmpTypeValue, setXmpValue
public 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 final String getBaseUrl()
Gets or sets base URL.
Value: The base URL.<br></br>
If this document contains Internet links, and those links are relative, they are relative to this base URL.
public final void setBaseUrl(String value)
Gets or sets base URL.
Value: The base URL.<br></br>
If this document contains Internet links, and those links are relative, they are relative to this base URL.
public final Date getCreateDate()
Gets or sets resource created date.
Value: Resource created date and time.public final void setCreateDate(Date value)
Gets or sets resource created date.
Value: Resource created date and time.public final String getCreatorTool()
Gets or sets name of the tool used to create the resource.
Value: The name of tool used to create resource.public final void setCreatorTool(String value)
Gets or sets name of the tool used to create the resource.
Value: The name of tool used to create resource.public final String[] getIdentifier()
Gets or sets resource identifier.
Value: Array of identifiers.public final void setIdentifier(String[] value)
Gets or sets resource identifier.
Value: Array of identifiers.public final String getLabel()
Gets or sets a word or short phrase that identifies a resource as a member of a user-defined collection.
Value: The label.public final void setLabel(String value)
Gets or sets a word or short phrase that identifies a resource as a member of a user-defined collection.
Value: The label.public final Date getMetadataDate()
Gets or sets the date and time that any metadata for this resource was last changed.
Value: The metadata date.public final void setMetadataDate(Date value)
Gets or sets the date and time that any metadata for this resource was last changed.
Value: The metadata date.public final Date getModifyDate()
Gets or sets resource last modified date.
Value: The modify date.public final void setModifyDate(Date value)
Gets or sets resource last modified date.
Value: The modify date.public final String getNickname()
Gets or sets a short informal name for the resource.
Value: The nickname.public final void setNickname(String value)
Gets or sets a short informal name for the resource.
Value: The nickname.public final int getRating()
Gets or sets user-assigned rating for this file.
<br></br>
The value shall be -1 or in the range [0..5],
where -1 indicates "rejected" and 0 indicates "unrated".
public final void setRating(int value)
Gets or sets user-assigned rating for this file.
<br></br>
The value shall be -1 or in the range [0..5],
where -1 indicates "rejected" and 0 indicates "unrated".
public final Thumbnail[] getThumbnails()
Gets or sets thumbnails.
Value: Thumbnails.public final void setThumbnails(Thumbnail[] value)
Gets or sets thumbnails.
Value: Thumbnails.public void addValue(String key, String value)
Adds string property.
addValue
in class XmpPackage
key
- XmpBasic key.value
- String value.com.aspose.ms.System.ArgumentNullException
- Metadata key is not provided.public final void setCreatedDate(Date createdDate)
Adds resource created date.
createdDate
- Created date.public final void setCreatedDate(String createdDate)
Adds resource created date.
createdDate
- Created date.Copyright © 2017. All rights reserved.