Package org.apache.xmpbox.type
Class ThumbnailType
- java.lang.Object
-
- org.apache.xmpbox.type.AbstractField
-
- org.apache.xmpbox.type.AbstractComplexProperty
-
- org.apache.xmpbox.type.AbstractStructuredType
-
- org.apache.xmpbox.type.ThumbnailType
-
public class ThumbnailType extends AbstractStructuredType
Object representation of an Thumbnail XMP type- Author:
- eric
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFORMATstatic java.lang.StringHEIGHTstatic java.lang.StringIMAGEstatic java.lang.StringWIDTH-
Fields inherited from class org.apache.xmpbox.type.AbstractStructuredType
STRUCTURE_ARRAY_NAME
-
-
Constructor Summary
Constructors Constructor Description ThumbnailType(XMPMetadata metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFormat()Get Formatjava.lang.IntegergetHeight()Get Heightjava.lang.StringgetImage()Get The img datajava.lang.IntegergetWidth()Get WidthvoidsetFormat(java.lang.String format)Set FormatvoidsetHeight(java.lang.Integer height)Set HeightvoidsetImage(java.lang.String image)Set Image datavoidsetWidth(java.lang.Integer width)Set Width-
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 Detail
-
FORMAT
public static final java.lang.String FORMAT
- See Also:
- Constant Field Values
-
HEIGHT
public static final java.lang.String HEIGHT
- See Also:
- Constant Field Values
-
WIDTH
public static final java.lang.String WIDTH
- See Also:
- Constant Field Values
-
IMAGE
public static final java.lang.String IMAGE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ThumbnailType
public ThumbnailType(XMPMetadata metadata)
- Parameters:
metadata- The metadata to attach to this property
-
-
Method Detail
-
getHeight
public java.lang.Integer getHeight()
Get Height- Returns:
- the height
-
setHeight
public void setHeight(java.lang.Integer height)
Set Height- Parameters:
height- the value of Height property to set
-
getWidth
public java.lang.Integer getWidth()
Get Width- Returns:
- the width
-
setWidth
public void setWidth(java.lang.Integer width)
Set Width- Parameters:
width- the value of width property to set
-
getImage
public java.lang.String getImage()
Get The img data- Returns:
- the img
-
setImage
public void setImage(java.lang.String image)
Set Image data- Parameters:
image- the value of image property to set
-
getFormat
public java.lang.String getFormat()
Get Format- Returns:
- the format
-
setFormat
public void setFormat(java.lang.String format)
Set Format- Parameters:
format- the value of format property to set
-
-