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 base URL.
|
Date |
getCreateDate()
Gets resource created date.
|
String |
getCreatorTool()
Gets name of the tool used to create the resource.
|
String[] |
getIdentifier()
Gets resource identifier.
|
String |
getLabel()
Gets a word or short phrase that identifies a resource as a member of a user-defined collection.
|
Date |
getMetadataDate()
Gets the date and time that any metadata for this resource was last changed.
|
Date |
getModifyDate()
Gets resource last modified date.
|
String |
getNickname()
Gets a short informal name for the resource.
|
int |
getRating()
Gets user-assigned rating for this file.
|
Thumbnail[] |
getThumbnails()
Gets thumbnails.
|
void |
setBaseUrl(String value)
Sets base URL.
|
void |
setCreateDate(Date value)
Sets resource created date.
|
void |
setCreatedDate(Date createdDate)
Adds resource created date.
|
void |
setCreatedDate(String createdDate)
Adds resource created date.
|
void |
setCreatorTool(String value)
Sets name of the tool used to create the resource.
|
void |
setIdentifier(String[] value)
Sets resource identifier.
|
void |
setLabel(String value)
Sets a word or short phrase that identifies a resource as a member of a user-defined collection.
|
void |
setMetadataDate(Date value)
Sets the date and time that any metadata for this resource was last changed.
|
void |
setModifyDate(Date value)
Sets resource last modified date.
|
void |
setNickname(String value)
Sets a short informal name for the resource.
|
void |
setRating(int value)
Sets user-assigned rating for this file.
|
void |
setThumbnails(Thumbnail[] value)
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 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)
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 resource created date.
public final void setCreateDate(Date value)
Sets resource created date.
value
- Resource created date and time.public final String getCreatorTool()
Gets name of the tool used to create the resource.
public final void setCreatorTool(String value)
Sets name of the tool used to create the resource.
value
- The name of tool used to create resource.public final String[] getIdentifier()
Gets resource identifier.
public final void setIdentifier(String[] value)
Sets resource identifier.
value
- Array of identifiers.public final String getLabel()
Gets a word or short phrase that identifies a resource as a member of a user-defined collection.
public final void setLabel(String value)
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 the date and time that any metadata for this resource was last changed.
public final void setMetadataDate(Date value)
Sets the date and time that any metadata for this resource was last changed.
value
- The metadata date.public final Date getModifyDate()
Gets resource last modified date.
public final void setModifyDate(Date value)
Sets resource last modified date.
value
- The modify date.public final String getNickname()
Gets a short informal name for the resource.
public final void setNickname(String value)
Sets a short informal name for the resource.
value
- The nickname.public final int getRating()
Gets 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)
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".
value
- The rating.public final Thumbnail[] getThumbnails()
Gets thumbnails.
public final void setThumbnails(Thumbnail[] value)
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 © 2018. All rights reserved.