org.apache.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 StringNAMESPACE
The namespace for this schema.
Constructor Summary
XMPSchemaPhotoshop(XMPMetadata parent)
Construct a new blank Photoshop schema.
XMPSchemaPhotoshop(Element element, String aPrefix)
Constructor for existing XML element.
Method Summary
voidaddSupplementalCategory(String s)
Add a new supplemental category.
StringgetAuthorsPosition()
By-line title.
StringgetCaptionWriter()
Writer/editor.
StringgetCategory()
The category.
StringgetCity()
The city.
StringgetCountry()
The country.
StringgetCredit()
The credit property.
StringgetDateCreated()
Creation date.
StringgetHeadline()
Headline.
StringgetInstructions()
The instructions.
StringgetSource()
The source.
StringgetState()
The state.
List<String>getSupplementalCategories()
Get a list of all supplemental categories.
StringgetTransmissionReference()
The transmission reference.
IntegergetUrgency()
The urgency.
voidremoveSupplementalCategory(String s)
Remove a supplemental category.
voidsetAuthorsPosition(String s)
By-line title.
voidsetCaptionWriter(String s)
Writer/editor.
voidsetCategory(String s)
Category; limited to 3 7-bit characters.
voidsetCity(String s)
The city.
voidsetCountry(String s)
The country.
voidsetCredit(String s)
Credit.
voidsetDateCreated(String s)
Date created; creation date of the source document which may be earlier than the digital representation.
voidsetHeadline(String s)
The headline.
voidsetInstructions(String s)
Instructions.
voidsetSource(String s)
The source.
voidsetState(String s)
The state.
voidsetTransmissionReference(String s)
The transmission reference.
voidsetUrgency(Integer s)
The urgency.

Field Detail

NAMESPACE

public static final String NAMESPACE
The namespace for this schema.

Constructor Detail

XMPSchemaPhotoshop

public XMPSchemaPhotoshop(XMPMetadata parent)
Construct a new blank Photoshop schema.

Parameters: parent The parent metadata schema that this will be part of.

XMPSchemaPhotoshop

public XMPSchemaPhotoshop(Element element, String aPrefix)
Constructor for existing XML element.

Parameters: element The XML element. aPrefix The XML prefix; photoshop.

Method Detail

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<String> 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.

Copyright © 2008-2010 Apache Software Foundation. All Rights Reserved.