org.jempbox.xmp

Class XMPSchemaIptc4xmpCore


public class XMPSchemaIptc4xmpCore
extends XMPSchema

Define XMP properties used with IPTC specification.
Version:
$Revision: 1.3 $
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

XMPSchemaIptc4xmpCore(Element element, String aPrefix)
Constructor from an existing element.
XMPSchemaIptc4xmpCore(XMPMetadata metadata)
Construct a new blank IPTC schema.

Method Summary

void
addScene(String scene)
The IPTC scene.
void
addSubjectCode(String subject)
Add IPTC subject code.
String
getCiAdrCity()
Contact Info Address City.
String
getCiAdrCtry()
Contact Info country.
String
getCiAdrExtadr()
Contact Info Extended Address(company name).
String
getCiAdrPcode()
Postal code.
String
getCiAdrRegion()
Postal region or state.
String
getCiEmailWork()
Work email.
String
getCiTelWork()
Work Telephone.
String
getCiUrlWork()
Work URL.
String
getCountryCode()
ISO Country Code.
String
getIntellectualGenre()
Nature of a news object.
String
getLocation()
Name of location that the content is focussing on.
List
getScenes()
A list of all the scenes.
List
getSubjectCodes()
Get a list of all IPTC subject codes.
void
setCiAdrCity(String city)
Contact Info Address City.
void
setCiAdrCtry(String country)
Contact Info country.
void
setCiAdrExtadr(String adr)
Contact Info Extended Address(company name).
void
setCiAdrPcode(String po)
Postal code.
void
setCiAdrRegion(String state)
Postal region or state.
void
setCiEmailWork(String email)
Work email.
void
setCiTelWork(String tel)
Work telephone.
void
setCiUrlWork(String url)
Work URL.
void
setCountryCode(String code)
ISO Country Code.
void
setIntellectualGenre(String genre)
Nature of a news object.
void
setLocation(String loc)
Name of location that the content is focussing on.

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

XMPSchemaIptc4xmpCore

public XMPSchemaIptc4xmpCore(Element element,
                             String aPrefix)
Constructor from an existing element.
Parameters:
element - The XML element.
aPrefix - The XML prefix; Iptc4xmpCore.

XMPSchemaIptc4xmpCore

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

Method Details

addScene

public void addScene(String scene)
The IPTC scene.
Parameters:
scene - The IPTC scene.

addSubjectCode

public void addSubjectCode(String subject)
Add IPTC subject code.
Parameters:
subject - The IPTC subject.

getCiAdrCity

public String getCiAdrCity()
Contact Info Address City.
Returns:
The city.

getCiAdrCtry

public String getCiAdrCtry()
Contact Info country.
Returns:
The CI country.

getCiAdrExtadr

public String getCiAdrExtadr()
Contact Info Extended Address(company name).
Returns:
The extended address info.

getCiAdrPcode

public String getCiAdrPcode()
Postal code.
Returns:
The postal code.

getCiAdrRegion

public String getCiAdrRegion()
Postal region or state.
Returns:
The postal state.

getCiEmailWork

public String getCiEmailWork()
Work email.
Returns:
The work email.

getCiTelWork

public String getCiTelWork()
Work Telephone.
Returns:
The work telephone.

getCiUrlWork

public String getCiUrlWork()
Work URL.
Returns:
work URL.

getCountryCode

public String getCountryCode()
ISO Country Code.
Returns:
The country code.

getIntellectualGenre

public String getIntellectualGenre()
Nature of a news object.
Returns:
The news genre.

getLocation

public String getLocation()
Name of location that the content is focussing on.
Returns:
The location.

getScenes

public List getScenes()
A list of all the scenes.
Returns:
The list of scenes.

getSubjectCodes

public List getSubjectCodes()
Get a list of all IPTC subject codes.
Returns:
All IPTC subject codes.

setCiAdrCity

public void setCiAdrCity(String city)
Contact Info Address City.
Parameters:
city - The city name.

setCiAdrCtry

public void setCiAdrCtry(String country)
Contact Info country.
Parameters:
country - The CI country.

setCiAdrExtadr

public void setCiAdrExtadr(String adr)
Contact Info Extended Address(company name).
Parameters:
adr - Address info.

setCiAdrPcode

public void setCiAdrPcode(String po)
Postal code.
Parameters:
po - The postal code.

setCiAdrRegion

public void setCiAdrRegion(String state)
Postal region or state.
Parameters:
state - The postal region

setCiEmailWork

public void setCiEmailWork(String email)
Work email.
Parameters:
email - The work email.

setCiTelWork

public void setCiTelWork(String tel)
Work telephone.
Parameters:
tel - The work telephone.

setCiUrlWork

public void setCiUrlWork(String url)
Work URL.
Parameters:
url - The work URL.

setCountryCode

public void setCountryCode(String code)
ISO Country Code.
Parameters:
code - The country code.

setIntellectualGenre

public void setIntellectualGenre(String genre)
Nature of a news object.
Parameters:
genre - The news genre.

setLocation

public void setLocation(String loc)
Name of location that the content is focussing on.
Parameters:
loc - The location.