org.apache.jempbox.xmp
public class XMPSchemaBasic extends XMPSchema
Version: $Revision: 1.4 $
Field Summary | |
---|---|
static String | NAMESPACE
The namespace of this schema. |
Constructor Summary | |
---|---|
XMPSchemaBasic(XMPMetadata parent)
Construct a new blank PDF schema.
| |
XMPSchemaBasic(Element element, String prefix)
Constructor from existing XML element.
|
Method Summary | |
---|---|
void | addAdvisory(String advisory)
Add an advisory to the list.
|
void | addIdentifier(String id)
Add a new identifier for this resource.
|
List<String> | getAdvisories()
Get the complete list of advisories.
|
String | getBaseURL()
Get the base URL of the resource.
|
Calendar | getCreateDate()
Get the creation date of the resource.
|
String | getCreatorTool()
Get the tool that created this resource, in the form of "vendor app version", ie
"Adobe Acrobat Distiller 5.0".
|
List<String> | getIdentifiers()
Get the complete list of identifiers.
|
String | getLabel()
Get the short phrase that describes this resource.
|
Calendar | getMetadataDate()
Get the metadata change date for this resource.
|
Calendar | getModifyDate()
Get the date the resource was last modified.
|
String | getNickname()
Get the short informal name for this resource.
|
Integer | getRating()
Get a number that indicates the documents status.
|
Thumbnail | getThumbnail()
Get the default value for the thumbnail.
|
Thumbnail | getThumbnail(String language)
Get the thumbnail in a specific language.
|
List<String> | getThumbnailLanguages()
Get a list of all languages that a thumbnail exists for.
|
String | getTitle()
Get the title for this resource.
|
void | removeAdvisory(String advisory)
Remove an Advisory xpath expression.
|
void | removeIdentifier(String id)
Remove an identifier to this resource.
|
void | setBaseURL(String url)
The base URL of the resource, for relative URLs in the document.
|
void | setCreateDate(Calendar date)
Set the creation date of the resource.
|
void | setCreatorTool(String creator)
The creator tool for the resource. |
void | setLabel(String label)
Set a short phrase that identifies this resource.
|
void | setMetadataDate(Calendar date)
Set the date that any metadata was updated.
|
void | setModifyDate(Calendar date)
Set the date that the resource was last modified.
|
void | setNickname(String nickname)
Set a short informal name for the resource.
|
void | setRating(Integer rating)
Set the document status.
|
void | setThumbnail(Thumbnail thumbnail)
Set the default value for the thumbnail.
|
void | setThumbnail(String language, Thumbnail thumbnail)
Set the thumbnail of this resource in a specific language.
|
void | setTitle(String title)
Set a Title for this resource.
|
Parameters: parent The parent metadata schema that this will be part of.
Parameters: element The existing element. prefix The schema prefix.
Parameters: advisory The new advisory xpath expression.
Parameters: id A new identifier for this resource.
Returns: The list of advisories.
Returns: The base URL.
Returns: The creation date of the resource.
Throws: IOException If there is an error while converting this property to a date.
Returns: The creator tool.
Returns: The list of identifiers.
Returns: The label for this resource.
Returns: The metadata change date of the resource.
Throws: IOException If there is an error while converting this property to a date.
Returns: The modify date of the resource.
Throws: IOException If there is an error while converting this property to a date.
Returns: The short name for this resource.
Returns: The rating of the document.
Returns: The thumbnail of this resource.
Parameters: language The language code to get the description for.
Returns: The thumbnail in the specified language or null if it does not exist.
Returns: A non-null list of languages, potentially an empty list.
Returns: The titled denoting this resource.
Parameters: advisory An xpath expression specifying properties that were edited outside of the authoring application.
Parameters: id An identifier to this resource.
Parameters: url The base URL.
Parameters: date The creation date of the resource.
Parameters: creator The tool that was used to create the resource.
Parameters: label A short description of this resource.
Parameters: date The metadata change date for this resource.
Parameters: date The modify date for this resource.
Parameters: nickname A short name of this resource.
Parameters: rating A number indicating status relative to other documents.
Parameters: thumbnail The thumbnail of this resource.
Parameters: language The language code. thumbnail The thumbnail in a specific language.
Parameters: title A title denoting this resource