|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jempbox.xmp.XMPSchema
org.jempbox.xmp.XMPSchemaBasic
Define XMP properties that are common to all schemas.
| Field Summary | |
static String |
NAMESPACE
The namespace of this schema. |
| Fields inherited from class org.jempbox.xmp.XMPSchema |
schema |
| Constructor Summary | |
XMPSchemaBasic(Element element)
Constructor from existing XML element. |
|
XMPSchemaBasic(XMPMetadata parent)
Construct a new blank PDF schema. |
|
| Method Summary | |
void |
addAdvisory(String advisory)
Add an advisory to the list. |
void |
addIdentifier(String id)
Add a new identifier for this resource. |
List |
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 |
getCreateTool()
Get the tool that created this resource, in the form of "vendor app version", ie "Adobe Acrobat Distiller 5.0" |
List |
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 |
getThumbnailLanguages()
Get a list of all languages that a thumbnail exists for. |
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 |
setCreateTool(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(String language,
Thumbnail thumbnail)
Set the thumbnail of this resource in a specific language. |
void |
setThumbnail(Thumbnail thumbnail)
Set the default value for the thumbnail. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String NAMESPACE
| Constructor Detail |
public XMPSchemaBasic(XMPMetadata parent)
parent - The parent metadata schema that this will be part of.public XMPSchemaBasic(Element element)
element - The existing element.| Method Detail |
public void removeAdvisory(String advisory)
advisory - An xpath expression specifying properties that
were edited outside of the authoring application.public void addAdvisory(String advisory)
advisory - The new advisory xpath expression.public List getAdvisories()
public void setBaseURL(String url)
url - The base URL.public String getBaseURL()
public void setCreateDate(Calendar date)
date - The creation date of the resource.
public Calendar getCreateDate()
throws IOException
IOException - If there is an error while converting this property to
a date.public void setCreateTool(String creator)
creator - The tool that was used to create the resource.public String getCreateTool()
public void removeIdentifier(String id)
id - An identifier to this resource.public void addIdentifier(String id)
id - A new identifier for this resource.public List getIdentifiers()
public void setLabel(String label)
label - A short description of this resource.public String getLabel()
public void setMetadataDate(Calendar date)
date - The metadata change date for this resource.
public Calendar getMetadataDate()
throws IOException
IOException - If there is an error while converting this property to
a date.public void setModifyDate(Calendar date)
date - The modify date for this resource.
public Calendar getModifyDate()
throws IOException
IOException - If there is an error while converting this property to
a date.public void setNickname(String nickname)
nickname - A short name of this resource.public String getNickname()
public Integer getRating()
public void setRating(Integer rating)
rating - A number indicating status relative to other documents.public void setThumbnail(Thumbnail thumbnail)
thumbnail - The thumbnail of this resource.public Thumbnail getThumbnail()
public void setThumbnail(String language,
Thumbnail thumbnail)
language - The language code.thumbnail - The thumbnail in a specific language.public Thumbnail getThumbnail(String language)
language - The language code to get the description for.
public List getThumbnailLanguages()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||