org.jempbox.xmp

Class XMPSchemaPhotoshop


public class XMPSchemaPhotoshop
extends XMPSchema

Define XMP properties used with Adobe Photoshop documents.
Version:
$Revision: 1.2 $
Author:
$Author: benlitchfield $

Field Summary

static String
NAMESPACE
The namespace for this schema.

Fields inherited from class org.jempbox.xmp.XMPSchema

NS_NAMESPACE, prefix, schema

Constructor Summary

XMPSchemaPhotoshop(Element element, String aPrefix)
Constructor for existing XML element.
XMPSchemaPhotoshop(XMPMetadata parent)
Construct a new blank Photoshop schema.

Method Summary

void
addSupplementalCategory(String s)
Add a new supplemental category.
String
getAuthorsPosition()
By-line title.
String
getCaptionWriter()
Writer/editor.
String
getCategory()
The category.
String
getCity()
The city.
String
getCountry()
The country.
String
getCredit()
The credit property.
String
getDateCreated()
Creation date.
String
getHeadline()
Headline.
String
getInstructions()
The instructions.
String
getSource()
The source.
String
getState()
The state.
List
getSupplementalCategories()
Get a list of all supplemental categories.
String
getTransmissionReference()
The transmission reference.
Integer
getUrgency()
The urgency.
void
removeSupplementalCategory(String s)
Remove a supplemental category.
void
setAuthorsPosition(String s)
By-line title.
void
setCaptionWriter(String s)
Writer/editor.
void
setCategory(String s)
Category; limited to 3 7-bit characters.
void
setCity(String s)
The city.
void
setCountry(String s)
The country.
void
setCredit(String s)
Credit.
void
setDateCreated(String s)
Date created; creation date of the source document which may be earlier than the digital representation.
void
setHeadline(String s)
The headline.
void
setInstructions(String s)
Instructions.
void
setSource(String s)
The source.
void
setState(String s)
The state.
void
setTransmissionReference(String s)
The transmission reference.
void
setUrgency(Integer s)
The urgency.

Methods inherited from class org.jempbox.xmp.XMPSchema

addBagValue, addSequenceDateValue, addSequenceValue, addSequenceValue, getAbout, getBagList, getBooleanProperty, getDateProperty, getElement, getEventSequenceList, getIntegerProperty, getLanguageProperty, getLanguagePropertyLanguages, getSequenceDateList, getSequenceList, getTextProperty, getThumbnailProperty, merge, removeBagValue, removeSequenceDateValue, removeSequenceValue, removeSequenceValue, setAbout, setBooleanProperty, setDateProperty, setIntegerProperty, setLanguageProperty, setTextProperty, setThumbnailProperty

Field Details

NAMESPACE

public static final String NAMESPACE
The namespace for this schema.

Constructor Details

XMPSchemaPhotoshop

public XMPSchemaPhotoshop(Element element,
                          String aPrefix)
Constructor for existing XML element.
Parameters:
element - The XML element.
aPrefix - The XML prefix; photoshop.

XMPSchemaPhotoshop

public XMPSchemaPhotoshop(XMPMetadata parent)
Construct a new blank Photoshop schema.
Parameters:
parent - The parent metadata schema that this will be part of.

Method Details

addSupplementalCategory

public void addSupplementalCategory(String s)
Add a new supplemental category.
Parameters:
s - The supplemental category.

getAuthorsPosition

public String getAuthorsPosition()
By-line title.
Returns:
The authors position.

getCaptionWriter

public String getCaptionWriter()
Writer/editor.
Returns:
The caption writer.

getCategory

public String getCategory()
The category.
Returns:
The category.

getCity

public String getCity()
The city.
Returns:
The city.

getCountry

public String getCountry()
The country.
Returns:
The country.

getCredit

public String getCredit()
The credit property.
Returns:
The credit property.

getDateCreated

public String getDateCreated()
Creation date.
Returns:
The creation date.

getHeadline

public String getHeadline()
Headline.
Returns:
The headline.

getInstructions

public String getInstructions()
The instructions.
Returns:
The instructions.

getSource

public String getSource()
The source.
Returns:
The source.

getState

public String getState()
The state.
Returns:
The state.

getSupplementalCategories

public List getSupplementalCategories()
Get a list of all supplemental categories.
Returns:
The supplemental categories.

getTransmissionReference

public String getTransmissionReference()
The transmission reference.
Returns:
The transmission reference.

getUrgency

public Integer getUrgency()
The urgency.
Returns:
The urgency.

removeSupplementalCategory

public void removeSupplementalCategory(String s)
Remove a supplemental category.
Parameters:
s - The supplemental category.

setAuthorsPosition

public void setAuthorsPosition(String s)
By-line title.
Parameters:
s - The authors position.

setCaptionWriter

public void setCaptionWriter(String s)
Writer/editor.
Parameters:
s - The caption writer.

setCategory

public void setCategory(String s)
Category; limited to 3 7-bit characters.
Parameters:
s - The category.

setCity

public void setCity(String s)
The city.
Parameters:
s - The city.

setCountry

public void setCountry(String s)
The country.
Parameters:
s - The country.

setCredit

public void setCredit(String s)
Credit.
Parameters:
s - The credit property.

setDateCreated

public void setDateCreated(String s)
Date created; creation date of the source document which may be earlier than the digital representation.
Parameters:
s - The date created.

setHeadline

public void setHeadline(String s)
The headline.
Parameters:
s - The headline.

setInstructions

public void setInstructions(String s)
Instructions.
Parameters:
s - The instructions.

setSource

public void setSource(String s)
The source.
Parameters:
s - The source.

setState

public void setState(String s)
The state.
Parameters:
s - The state.

setTransmissionReference

public void setTransmissionReference(String s)
The transmission reference.
Parameters:
s - The transmission reference.

setUrgency

public void setUrgency(Integer s)
The urgency.
Parameters:
s - The urgency.