public class TiffSchema extends XMPSchema
| Modifier and Type | Field and Description |
|---|---|
static String |
ARTIST |
static String |
BITS_PER_SAMPLE |
static String |
COMPRESSION |
static String |
COPYRIGHT |
static String |
DATE_TIME |
static String |
IMAGE_DESCRIPTION |
static String |
IMAGE_LENGTH |
static String |
IMAGE_WIDTH |
static String |
MAKE |
static String |
MODEL |
static String |
ORIENTATION |
static String |
PHOTOMETRIC_INTERPRETATION |
static String |
PLANAR_CONFIGURATION |
static String |
PRIMARY_CHROMATICITIES |
static String |
REFERENCE_BLACK_WHITE |
static String |
RESOLUTION_UNIT |
static String |
SAMPLES_PER_PIXEL |
static String |
SOFTWARE |
static String |
TRANSFER_FUNCTION |
static String |
WHITE_POINT |
static String |
XRESOLUTION |
static String |
YCB_CR_COEFFICIENTS |
static String |
YCB_CR_POSITIONING |
static String |
YCB_CR_SUB_SAMPLING |
static String |
YRESOLUTION |
STRUCTURE_ARRAY_NAME| Constructor and Description |
|---|
TiffSchema(XMPMetadata metadata) |
TiffSchema(XMPMetadata metadata,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCopyright(String lang,
String value)
Add a Copyright property value for a specified language
|
void |
addImageDescription(String lang,
String value)
Add an ImageDescription value for a specified language.
|
String |
getArtist()
Return the Artist property as String
|
ProperNameType |
getArtistProperty()
Return the artist property
|
String |
getCopyright()
Return the Copyright property value as String in default language
|
String |
getCopyright(String lang)
Return the Copyright value as String in expected language
|
List<String> |
getCopyrightLanguages()
Return the list of language existing for the Copyright property.
|
ArrayProperty |
getCopyrightProperty()
Return the Copyright property object
|
String |
getImageDescription()
Return the ImageDescription property as String in the default language.
|
String |
getImageDescription(String lang)
Return the ImageDescription property value as String in a specified language.
|
List<String> |
getImageDescriptionLanguages()
Return the list of language existing for the ImageDescription property.
|
ArrayProperty |
getImageDescriptionProperty()
Return the ImageDescription property object.
|
void |
setArtist(String text)
Set the name of the artist
|
addBagValue, addBagValueAsSimple, addQualifiedBagValue, addSequenceDateValueAsSimple, addUnqualifiedSequenceDateValue, addUnqualifiedSequenceValue, addUnqualifiedSequenceValue, getAboutAttribute, getAboutValue, getAbstractProperty, getBooleanProperty, getBooleanPropertyValue, getBooleanPropertyValueAsSimple, getDateProperty, getDatePropertyValue, getDatePropertyValueAsSimple, getIntegerProperty, getIntegerPropertyValue, getIntegerPropertyValueAsSimple, getUnqualifiedArrayList, getUnqualifiedBagValueList, getUnqualifiedLanguagePropertyLanguagesValue, getUnqualifiedLanguagePropertyValue, getUnqualifiedSequenceDateValueList, getUnqualifiedSequenceValueList, getUnqualifiedTextProperty, getUnqualifiedTextPropertyValue, instanciateSimple, merge, removeUnqualifiedArrayValue, removeUnqualifiedBagValue, removeUnqualifiedSequenceDateValue, removeUnqualifiedSequenceValue, removeUnqualifiedSequenceValue, reorganizeAltOrder, setAbout, setAboutAsSimple, setBooleanProperty, setBooleanPropertyValue, setBooleanPropertyValueAsSimple, setDateProperty, setDatePropertyValue, setDatePropertyValueAsSimple, setIntegerProperty, setIntegerPropertyValue, setIntegerPropertyValueAsSimple, setTextProperty, setTextPropertyValue, setTextPropertyValueAsSimple, setUnqualifiedLanguagePropertyValueaddSimpleProperty, createArrayProperty, createTextType, getDatePropertyAsCalendar, getNamespace, getPreferedPrefix, getPrefix, getPropertyValueAsString, setNamespace, setPrefixaddNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removePropertycontainsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyNamepublic static final String IMAGE_DESCRIPTION
public static final String COPYRIGHT
public static final String ARTIST
public static final String IMAGE_WIDTH
public static final String IMAGE_LENGTH
public static final String BITS_PER_SAMPLE
public static final String COMPRESSION
public static final String PHOTOMETRIC_INTERPRETATION
public static final String ORIENTATION
public static final String SAMPLES_PER_PIXEL
public static final String PLANAR_CONFIGURATION
public static final String YCB_CR_SUB_SAMPLING
public static final String YCB_CR_POSITIONING
public static final String XRESOLUTION
public static final String YRESOLUTION
public static final String RESOLUTION_UNIT
public static final String TRANSFER_FUNCTION
public static final String WHITE_POINT
public static final String PRIMARY_CHROMATICITIES
public static final String YCB_CR_COEFFICIENTS
public static final String REFERENCE_BLACK_WHITE
public static final String DATE_TIME
public static final String SOFTWARE
public static final String MAKE
public static final String MODEL
public TiffSchema(XMPMetadata metadata)
public TiffSchema(XMPMetadata metadata, String prefix)
public ProperNameType getArtistProperty()
public String getArtist()
public void setArtist(String text)
text - the name of the artistpublic ArrayProperty getImageDescriptionProperty()
public List<String> getImageDescriptionLanguages() throws BadFieldValueException
BadFieldValueException - If the ImageDescription property is not a multi-lingual
property.public String getImageDescription(String lang) throws BadFieldValueException
lang - The expected language.BadFieldValueException - If the ImageDescription property is not a multi-lingual
property.public String getImageDescription() throws BadFieldValueException
BadFieldValueException - If the ImageDescription property is not a multi-lingual
property.public void addImageDescription(String lang, String value)
lang - language of the ImageDescription property.value - image description textpublic ArrayProperty getCopyrightProperty()
public List<String> getCopyrightLanguages() throws BadFieldValueException
BadFieldValueException - If the Copyright property is not a multi-lingual propertypublic String getCopyright(String lang) throws BadFieldValueException
lang - expected languageBadFieldValueException - If the Copyright property is not a multi-lingual propertypublic String getCopyright() throws BadFieldValueException
BadFieldValueException - If the Copyright property is not a multi-lingual propertyCopyright © 2002–2025 The Apache Software Foundation. All rights reserved.