XmpIptcCorePackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpPackage

public final class XmpIptcCorePackage extends XmpPackage

Represents the IPTC Core XMP package.

Constructors

Constructor Description
XmpIptcCorePackage() Initializes a new instance of the XmpIptcCorePackage class.

Methods

Method Description
getCountryCode() Gets the code of the country the content is focusing on.
setCountryCode(String value) Sets the code of the country the content is focusing on.
getIntellectualGenre() Gets the intellectual genre.
setIntellectualGenre(String value) Sets the intellectual genre.
getLocation() Gets the location the content is focusing on.
setLocation(String value) Sets the location the content is focusing on.
getScenes() Gets the scene of the photo content.
setScenes(String[] value) Sets the scene of the photo content.
getSubjectCodes() Gets one or more Subjects from the IPTC “Subject-NewsCodes” taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list.
setSubjectCodes(String[] value) Sets one or more Subjects from the IPTC “Subject-NewsCodes” taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list.

XmpIptcCorePackage()

public XmpIptcCorePackage()

Initializes a new instance of the XmpIptcCorePackage class.

getCountryCode()

public final String getCountryCode()

Gets the code of the country the content is focusing on. The code should be taken from ISO 3166 two or three letter code.

Returns: java.lang.String - The country code.

setCountryCode(String value)

public final void setCountryCode(String value)

Sets the code of the country the content is focusing on. The code should be taken from ISO 3166 two or three letter code.

Parameters:

Parameter Type Description
value java.lang.String The country code.

getIntellectualGenre()

public final String getIntellectualGenre()

Gets the intellectual genre. Describes the nature, intellectual, artistic or journalistic characteristic of a news object, not specifically its content.

Returns: java.lang.String - The intellectual genre.

setIntellectualGenre(String value)

public final void setIntellectualGenre(String value)

Sets the intellectual genre. Describes the nature, intellectual, artistic or journalistic characteristic of a news object, not specifically its content.

Parameters:

Parameter Type Description
value java.lang.String The intellectual genre.

getLocation()

public final String getLocation()

Gets the location the content is focusing on.

Returns: java.lang.String - The location.


This location name could either be the name of a sublocation to a city or the name of a well known location or (natural) monument outside a city. In the sense of a sublocation to a city this element is at the fourth level of a top-down geographical hierarchy.

setLocation(String value)

public final void setLocation(String value)

Sets the location the content is focusing on.

Parameters:

Parameter Type Description
value java.lang.String The location.

This location name could either be the name of a sublocation to a city or the name of a well known location or (natural) monument outside a city. In the sense of a sublocation to a city this element is at the fourth level of a top-down geographical hierarchy. |

getScenes()

public final String[] getScenes()

Gets the scene of the photo content.

Returns: java.lang.String[] - The scene codes.


Specifies one or more terms from the IPTC “Scene-NewsCodes”. Each Scene is represented as a string of 6 digits in an unordered list

setScenes(String[] value)

public final void setScenes(String[] value)

Sets the scene of the photo content.

Parameters:

Parameter Type Description
value java.lang.String[] The scene codes.

Specifies one or more terms from the IPTC “Scene-NewsCodes”. Each Scene is represented as a string of 6 digits in an unordered list |

getSubjectCodes()

public final String[] getSubjectCodes()

Gets one or more Subjects from the IPTC “Subject-NewsCodes” taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list.

Returns: java.lang.String[] - The subject codes.


More about IPTC Subject-NewsCodes at http://www.newscodes.org.

setSubjectCodes(String[] value)

public final void setSubjectCodes(String[] value)

Sets one or more Subjects from the IPTC “Subject-NewsCodes” taxonomy to categorize the content.Each Subject is represented as a string of 8 digits in an unordered list.

Parameters:

Parameter Type Description
value java.lang.String[] The subject codes.

More about IPTC Subject-NewsCodes at http://www.newscodes.org. |