Package org.apache.xmpbox.schema
Class TiffSchema
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.apache.xmpbox.type.AbstractStructuredType
STRUCTURE_ARRAY_NAME -
Constructor Summary
ConstructorsConstructorDescriptionTiffSchema(XMPMetadata metadata) TiffSchema(XMPMetadata metadata, String prefix) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCopyright(String lang, String value) Add a Copyright property value for a specified languagevoidaddImageDescription(String lang, String value) Add an ImageDescription value for a specified language.Return the Artist property as StringReturn the artist propertyReturn the Copyright property value as String in default languagegetCopyright(String lang) Return the Copyright value as String in expected languageReturn the list of language existing for the Copyright property.Return the Copyright property objectReturn the ImageDescription property as String in the default language.getImageDescription(String lang) Return the ImageDescription property value as String in a specified language.Return the list of language existing for the ImageDescription property.Return the ImageDescription property object.voidSet the name of the artistMethods inherited from class org.apache.xmpbox.schema.XMPSchema
addBagValue, addBagValueAsSimple, addQualifiedBagValue, addSequenceDateValueAsSimple, addUnqualifiedSequenceDateValue, addUnqualifiedSequenceValue, addUnqualifiedSequenceValue, getAboutAttribute, getAboutValue, getAbstractProperty, getBooleanProperty, getBooleanPropertyValue, getBooleanPropertyValueAsSimple, getDateProperty, getDatePropertyValue, getDatePropertyValueAsSimple, getIntegerProperty, getIntegerPropertyValue, getIntegerPropertyValueAsSimple, getPropertyAs, 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, setUnqualifiedLanguagePropertyValueMethods inherited from class org.apache.xmpbox.type.AbstractStructuredType
addSimpleProperty, createArrayProperty, createTextType, getDatePropertyAsCalendar, getNamespace, getPreferedPrefix, getPrefix, getPropertyValueAsString, setNamespace, setPrefixMethods inherited from class org.apache.xmpbox.type.AbstractComplexProperty
addNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removePropertyMethods inherited from class org.apache.xmpbox.type.AbstractField
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
-
Field Details
-
IMAGE_DESCRIPTION
- See Also:
-
COPYRIGHT
- See Also:
-
ARTIST
- See Also:
-
IMAGE_WIDTH
- See Also:
-
IMAGE_LENGTH
- See Also:
-
BITS_PER_SAMPLE
- See Also:
-
COMPRESSION
- See Also:
-
PHOTOMETRIC_INTERPRETATION
- See Also:
-
ORIENTATION
- See Also:
-
SAMPLES_PER_PIXEL
- See Also:
-
PLANAR_CONFIGURATION
- See Also:
-
YCB_CR_SUB_SAMPLING
- See Also:
-
YCB_CR_POSITIONING
- See Also:
-
XRESOLUTION
- See Also:
-
YRESOLUTION
- See Also:
-
RESOLUTION_UNIT
- See Also:
-
TRANSFER_FUNCTION
- See Also:
-
WHITE_POINT
- See Also:
-
PRIMARY_CHROMATICITIES
- See Also:
-
YCB_CR_COEFFICIENTS
- See Also:
-
REFERENCE_BLACK_WHITE
- See Also:
-
DATE_TIME
- See Also:
-
SOFTWARE
- See Also:
-
MAKE
- See Also:
-
MODEL
- See Also:
-
-
Constructor Details
-
TiffSchema
-
TiffSchema
-
-
Method Details
-
getArtistProperty
Return the artist property- Returns:
- artist ProperNameType
-
getArtist
Return the Artist property as String- Returns:
- the Artist property
-
setArtist
Set the name of the artist- Parameters:
text- the name of the artist
-
getImageDescriptionProperty
Return the ImageDescription property object.- Returns:
- the ImageDescription property.
-
getImageDescriptionLanguages
Return the list of language existing for the ImageDescription property.- Returns:
- a list of languages or null if it doesn't exist.
- Throws:
BadFieldValueException- If the ImageDescription property is not a multi-lingual property.
-
getImageDescription
Return the ImageDescription property value as String in a specified language.- Parameters:
lang- The expected language.- Returns:
- The ImageDescription property value or null if it doesn't exist.
- Throws:
BadFieldValueException- If the ImageDescription property is not a multi-lingual property.
-
getImageDescription
Return the ImageDescription property as String in the default language.- Returns:
- the ImageDescription value or null if it doesn't exist.
- Throws:
BadFieldValueException- If the ImageDescription property is not a multi-lingual property.
-
addImageDescription
Add an ImageDescription value for a specified language.- Parameters:
lang- language of the ImageDescription property.value- image description text
-
getCopyrightProperty
Return the Copyright property object- Returns:
- the Copyright property
-
getCopyrightLanguages
Return the list of language existing for the Copyright property.- Returns:
- a list of languages or null if it doesn't exist.
- Throws:
BadFieldValueException- If the Copyright property is not a multi-lingual property
-
getCopyright
Return the Copyright value as String in expected language- Parameters:
lang- expected language- Returns:
- copyright value or null if it doesn't exist.
- Throws:
BadFieldValueException- If the Copyright property is not a multi-lingual property
-
getCopyright
Return the Copyright property value as String in default language- Returns:
- The Copyright property value or null if it doesn't exist.
- Throws:
BadFieldValueException- If the Copyright property is not a multi-lingual property
-
addCopyright
Add a Copyright property value for a specified language- Parameters:
lang- language of the copyrightvalue- copyright text
-