org.apache.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 StringNAMESPACE
The namespace for this schema.
Constructor Summary
XMPSchemaIptc4xmpCore(XMPMetadata metadata)
Construct a new blank IPTC schema.
XMPSchemaIptc4xmpCore(Element element, String aPrefix)
Constructor from an existing element.
Method Summary
voidaddScene(String scene)
The IPTC scene.
voidaddSubjectCode(String subject)
Add IPTC subject code.
StringgetCiAdrCity()
Contact Info Address City.
StringgetCiAdrCtry()
Contact Info country.
StringgetCiAdrExtadr()
Contact Info Extended Address(company name).
StringgetCiAdrPcode()
Postal code.
StringgetCiAdrRegion()
Postal region or state.
StringgetCiEmailWork()
Work email.
StringgetCiTelWork()
Work Telephone.
StringgetCiUrlWork()
Work URL.
StringgetCountryCode()
ISO Country Code.
StringgetIntellectualGenre()
Nature of a news object.
StringgetLocation()
Name of location that the content is focussing on.
List<String>getScenes()
A list of all the scenes.
List<String>getSubjectCodes()
Get a list of all IPTC subject codes.
voidsetCiAdrCity(String city)
Contact Info Address City.
voidsetCiAdrCtry(String country)
Contact Info country.
voidsetCiAdrExtadr(String adr)
Contact Info Extended Address(company name).
voidsetCiAdrPcode(String po)
Postal code.
voidsetCiAdrRegion(String state)
Postal region or state.
voidsetCiEmailWork(String email)
Work email.
voidsetCiTelWork(String tel)
Work telephone.
voidsetCiUrlWork(String url)
Work URL.
voidsetCountryCode(String code)
ISO Country Code.
voidsetIntellectualGenre(String genre)
Nature of a news object.
voidsetLocation(String loc)
Name of location that the content is focussing on.

Field Detail

NAMESPACE

public static final String NAMESPACE
The namespace for this schema.

Constructor Detail

XMPSchemaIptc4xmpCore

public XMPSchemaIptc4xmpCore(XMPMetadata metadata)
Construct a new blank IPTC schema.

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

XMPSchemaIptc4xmpCore

public XMPSchemaIptc4xmpCore(Element element, String aPrefix)
Constructor from an existing element.

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

Method Detail

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<String> getScenes()
A list of all the scenes.

Returns: The list of scenes.

getSubjectCodes

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

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