se.datadosen.jalbum
Class XmpManager

java.lang.Object
  extended by se.datadosen.jalbum.XmpManager

public class XmpManager
extends java.lang.Object

Interface to get and set XMP properties bound to an AlbumObject

Since:
10.0

Field Summary
static java.lang.String dc_NS
           
static java.lang.String rdf_NS
           
static java.lang.String xap_NS
           
static java.lang.String xapRights_NS
           
 
Constructor Summary
XmpManager(AlbumObject ao)
           
 
Method Summary
 java.lang.String getCreator()
           
 java.lang.String getDescription()
           
 Flag getFlag()
           
 java.lang.String getKeywords()
          Get a comma separated list of keywords or null if keywords are missing
 java.util.Set<java.lang.String> getKeywordSet()
           
 java.lang.Integer getRating()
           
 java.lang.String getRights()
           
 java.lang.String getRightsURL()
           
 java.lang.String getTitle()
           
 com.adobe.xmp.XMPMeta getXMPMeta()
          Get access to the underlying Adobe XMPMeta object
 void save()
           
 void setCreator(java.lang.String creator)
           
 void setDescription(java.lang.String description)
           
 void setFlag(Flag flag)
           
 void setKeywords(java.lang.String keywords)
           
 void setRating(java.lang.Integer rating)
           
 void setRights(java.lang.String rights)
           
 void setRightsURL(java.lang.String rightsURL)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dc_NS

public static final java.lang.String dc_NS
See Also:
Constant Field Values

rdf_NS

public static final java.lang.String rdf_NS
See Also:
Constant Field Values

xap_NS

public static final java.lang.String xap_NS
See Also:
Constant Field Values

xapRights_NS

public static final java.lang.String xapRights_NS
See Also:
Constant Field Values
Constructor Detail

XmpManager

public XmpManager(AlbumObject ao)
           throws com.adobe.xmp.XMPException,
                  java.io.IOException
Throws:
com.adobe.xmp.XMPException
java.io.IOException
Method Detail

getXMPMeta

public com.adobe.xmp.XMPMeta getXMPMeta()
Get access to the underlying Adobe XMPMeta object

Returns:

save

public void save()
          throws java.io.IOException
Throws:
java.io.IOException

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)
                    throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException

getRating

public java.lang.Integer getRating()

setRating

public void setRating(java.lang.Integer rating)
               throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)
              throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException

getCreator

public java.lang.String getCreator()
                            throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException

setCreator

public void setCreator(java.lang.String creator)
                throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException

getRights

public java.lang.String getRights()
                           throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException

setRights

public void setRights(java.lang.String rights)
               throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException

getRightsURL

public java.lang.String getRightsURL()
                              throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException

setRightsURL

public void setRightsURL(java.lang.String rightsURL)
                  throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException

getKeywordSet

public java.util.Set<java.lang.String> getKeywordSet()
                                              throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException

getKeywords

public java.lang.String getKeywords()
                             throws com.adobe.xmp.XMPException
Get a comma separated list of keywords or null if keywords are missing

Returns:
Throws:
com.adobe.xmp.XMPException

setKeywords

public void setKeywords(java.lang.String keywords)
                 throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException

getFlag

public Flag getFlag()
             throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException

setFlag

public void setFlag(Flag flag)
             throws com.adobe.xmp.XMPException
Throws:
com.adobe.xmp.XMPException