Package org.apache.xmpbox.schema
Class TiffSchema
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields 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 TypeMethodDescriptionvoid
addCopyright
(String lang, String value) Add a copyright value for a specified languagevoid
addImageDescription
(String lang, String value) Add a image description value for a specified languageReturn the artist property as StringReturn the artist propertyReturn the copyright value as String in default languagegetCopyRight
(String lang) Return the copyright value as String in expected languageReturn the list of language existing for copyrightReturn the copyright property objectReturn the image description as String in default languagegetImageDescription
(String lang) Return the image description value as String in expected languageReturn the list of language existing for image descriptionReturn the image description property objectvoid
Set 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, 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, setUnqualifiedLanguagePropertyValue
Methods inherited from class org.apache.xmpbox.type.AbstractStructuredType
addSimpleProperty, createArrayProperty, createTextType, getDatePropertyAsCalendar, getNamespace, getPreferedPrefix, getPrefix, getPropertyValueAsString, setNamespace, setPrefix
Methods inherited from class org.apache.xmpbox.type.AbstractComplexProperty
addNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removeProperty
Methods 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_LENGHT
- 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:
- string
-
setArtist
Set the name of the artist- Parameters:
text
-
-
getImageDescriptionProperty
Return the image description property object- Returns:
- the image description property
-
getImageDescriptionLanguages
Return the list of language existing for image description- Returns:
- a list of languages
-
getImageDescription
Return the image description value as String in expected language- Parameters:
lang
- expected language- Returns:
- image description value
-
getImageDescription
Return the image description as String in default language- Returns:
- image description value
-
addImageDescription
Add a image description value for a specified language- Parameters:
lang
- language of the image descriptionvalue
- image description text
-
getCopyRightProperty
Return the copyright property object- Returns:
- the copyright property
-
getCopyRightLanguages
Return the list of language existing for copyright- Returns:
- a list of languages
-
getCopyRight
Return the copyright value as String in expected language- Parameters:
lang
- expected language- Returns:
- copyright value
-
getCopyRight
Return the copyright value as String in default language- Returns:
- copyright value
-
addCopyright
Add a copyright value for a specified language- Parameters:
lang
- language of the copyrightvalue
- copyright text
-