| java.lang.Object org.apache.xmlgraphics.xmp.XMPSchemaAdapter org.apache.xmlgraphics.xmp.schemas.DublinCoreAdapter
DublinCoreAdapter | public class DublinCoreAdapter extends XMPSchemaAdapter (Code) | | Schema adapter implementation for the Dublin Core schema.
Note: In Adobe's XMP specification dc:subject is defined as "bag Text", but in PDF/A-1 it is
defined as "Text". Here it is implemented as "bag Text".
|
Constructor Summary | |
public | DublinCoreAdapter(Metadata meta) Constructs a new adapter for Dublin Core around the given metadata object. |
DublinCoreAdapter | public DublinCoreAdapter(Metadata meta)(Code) | | Constructs a new adapter for Dublin Core around the given metadata object.
Parameters: meta - the underlying metadata |
addCreator | public void addCreator(String value)(Code) | | Adds a new entry to the list of creators (authors of the resource).
Parameters: value - the new value |
addDate | public void addDate(Date value)(Code) | | Adds a new entry to the list of dates indicating points in time something interesting
happened to the resource.
Parameters: value - the date value |
addSubject | public void addSubject(String value)(Code) | | Adds a new entry to the list of subjects (descriptive phrases or keywords that
specify the topic of the content of the resource).
Parameters: value - the new value |
getCreators | public String[] getCreators()(Code) | | a String array of all creators |
getDescription | public String getDescription()(Code) | | the description of the content of the resource (in the default language) |
getDescription | public String getDescription(String lang)(Code) | | Returns the description of the content of the resource in a language-dependant way.
Parameters: lang - the language ("x-default" or null for the default language) the language-dependent value. |
getSubjects | public String[] getSubjects()(Code) | | a String array of all subjects |
getTitle | public String getTitle()(Code) | | the title of the resource (in the default language) |
getTitle | public String getTitle(String lang)(Code) | | Returns the title of the resource in a language-dependant way.
Parameters: lang - the language ("x-default" or null for the default language) the language-dependent value. |
setDescription | public void setDescription(String lang, String value)(Code) | | Sets the description of the content of the resource.
Parameters: lang - the language of the value ("x-default" or null for the default language) Parameters: value - the new value |
setTitle | public void setTitle(String value)(Code) | | Sets the title of the resource (in the default language).
Parameters: value - the new value |
setTitle | public void setTitle(String lang, String value)(Code) | | Sets the title of the resource.
Parameters: lang - the language of the value ("x-default" or null for the default language) Parameters: value - the new value |
|
|