org.apache.xmlgraphics.xmp.schemas
Class XMPBasicAdapter
java.lang.Object
|
+--org.apache.xmlgraphics.xmp.XMPSchemaAdapter
|
+--org.apache.xmlgraphics.xmp.schemas.XMPBasicAdapter
- public class XMPBasicAdapter
- extends XMPSchemaAdapter
Schema adapter implementation for the XMP Basic schema.
Constructor Summary |
XMPBasicAdapter(Metadata meta,
java.lang.String namespace)
Constructs a new adapter for XMP Basic around the given metadata object. |
Method Summary |
java.util.Date |
getCreateDate()
|
java.lang.String |
getCreatorTool()
|
java.util.Date |
getMetadataDate()
|
java.util.Date |
getModifyDate()
|
void |
setCreateDate(java.util.Date creationDate)
Sets the date and time the resource was originally created. |
void |
setCreatorTool(java.lang.String value)
Sets the first known tool used to create the resource. |
void |
setMetadataDate(java.util.Date metadataDate)
Sets the date and time any metadata for this resource was last changed. |
void |
setModifyDate(java.util.Date modifyDate)
Sets the date and time the resource was last modified. |
Methods inherited from class org.apache.xmlgraphics.xmp.XMPSchemaAdapter |
addDateToSeq, addStringToBag, addStringToSeq, formatISO8601Date, getDateValue, getLangAlt, getObjectArray, getQName, getSchema, getStringArray, getValue, parseISO8601Date, removeLangAlt, setDateValue, setLangAlt, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMPBasicAdapter
public XMPBasicAdapter(Metadata meta,
java.lang.String namespace)
- Constructs a new adapter for XMP Basic around the given metadata object.
- Parameters:
meta
- the underlying metadata
setCreatorTool
public void setCreatorTool(java.lang.String value)
- Sets the first known tool used to create the resource.
- Parameters:
value
- the creator tool
getCreatorTool
public java.lang.String getCreatorTool()
- Returns:
- the first known tool used to create the resource
setCreateDate
public void setCreateDate(java.util.Date creationDate)
- Sets the date and time the resource was originally created.
- Parameters:
creationDate
- the creation date
getCreateDate
public java.util.Date getCreateDate()
- Returns:
- the date and time the resource was originally created
setModifyDate
public void setModifyDate(java.util.Date modifyDate)
- Sets the date and time the resource was last modified.
- Parameters:
modifyDate
- the modification date
getModifyDate
public java.util.Date getModifyDate()
- Returns:
- the date and time the resource was last modified
setMetadataDate
public void setMetadataDate(java.util.Date metadataDate)
- Sets the date and time any metadata for this resource was last changed.
- Parameters:
metadataDate
- the modification date for the metadata
getMetadataDate
public java.util.Date getMetadataDate()
- Returns:
- the date and time the resource was originally created
Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.