xmlgraphics-commons 1.2

org.apache.xmlgraphics.xmp.schemas
Class XMPBasicAdapter

java.lang.Object
  extended by org.apache.xmlgraphics.xmp.XMPSchemaAdapter
      extended by org.apache.xmlgraphics.xmp.schemas.XMPBasicAdapter

public class XMPBasicAdapter
extends XMPSchemaAdapter

Schema adapter implementation for the XMP Basic schema.


Field Summary
 
Fields inherited from class org.apache.xmlgraphics.xmp.XMPSchemaAdapter
meta
 
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
 

Constructor Detail

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
Method Detail

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

xmlgraphics-commons 1.2

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.