Package org.apache.jempbox.xmp
Class XMPSchemaIptc4xmpCore
java.lang.Object
org.apache.jempbox.xmp.XMPSchema
org.apache.jempbox.xmp.XMPSchemaIptc4xmpCore
Define XMP properties used with IPTC specification.
- Version:
- $Revision: 1.3 $
- Author:
- $Author: benlitchfield $
-
Field Summary
FieldsFields inherited from class org.apache.jempbox.xmp.XMPSchema
NS_NAMESPACE, prefix, schema -
Constructor Summary
ConstructorsConstructorDescriptionXMPSchemaIptc4xmpCore(XMPMetadata metadata) Construct a new blank IPTC schema.XMPSchemaIptc4xmpCore(Element element, String aPrefix) Constructor from an existing element. -
Method Summary
Modifier and TypeMethodDescriptionvoidThe IPTC scene.voidaddSubjectCode(String subject) Add IPTC subject code.Contact Info Address City.Contact Info country.Contact Info Extended Address(company name).Postal code.Postal region or state.Work email.Work Telephone.Work URL.ISO Country Code.Nature of a news object.Name of location that the content is focussing on.A list of all the scenes.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.Methods inherited from class org.apache.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
The namespace for this schema.- See Also:
-
-
Constructor Details
-
XMPSchemaIptc4xmpCore
Construct a new blank IPTC schema.- Parameters:
metadata- The parent metadata schema that this will be part of.
-
XMPSchemaIptc4xmpCore
Constructor from an existing element.- Parameters:
element- The XML element.aPrefix- The XML prefix; Iptc4xmpCore.
-
-
Method Details
-
setCiAdrCity
Contact Info Address City.- Parameters:
city- The city name.
-
getCiAdrCity
Contact Info Address City.- Returns:
- The city.
-
setCiAdrCtry
Contact Info country.- Parameters:
country- The CI country.
-
getCiAdrCtry
Contact Info country.- Returns:
- The CI country.
-
setCiAdrExtadr
Contact Info Extended Address(company name).- Parameters:
adr- Address info.
-
getCiAdrExtadr
Contact Info Extended Address(company name).- Returns:
- The extended address info.
-
setCiAdrPcode
Postal code.- Parameters:
po- The postal code.
-
getCiAdrPcode
Postal code.- Returns:
- The postal code.
-
setCiAdrRegion
Postal region or state.- Parameters:
state- The postal region
-
getCiAdrRegion
Postal region or state.- Returns:
- The postal state.
-
setCiEmailWork
Work email.- Parameters:
email- The work email.
-
getCiEmailWork
Work email.- Returns:
- The work email.
-
setCiTelWork
Work telephone.- Parameters:
tel- The work telephone.
-
getCiTelWork
Work Telephone.- Returns:
- The work telephone.
-
setCiUrlWork
Work URL.- Parameters:
url- The work URL.
-
getCiUrlWork
Work URL.- Returns:
- work URL.
-
setLocation
Name of location that the content is focussing on.- Parameters:
loc- The location.
-
getLocation
Name of location that the content is focussing on.- Returns:
- The location.
-
addScene
The IPTC scene.- Parameters:
scene- The IPTC scene.
-
getScenes
A list of all the scenes.- Returns:
- The list of scenes.
-
addSubjectCode
Add IPTC subject code.- Parameters:
subject- The IPTC subject.
-
getSubjectCodes
Get a list of all IPTC subject codes.- Returns:
- All IPTC subject codes.
-
setIntellectualGenre
Nature of a news object.- Parameters:
genre- The news genre.
-
getIntellectualGenre
Nature of a news object.- Returns:
- The news genre.
-
setCountryCode
ISO Country Code.- Parameters:
code- The country code.
-
getCountryCode
ISO Country Code.- Returns:
- The country code.
-