Top Description Fields Constructors Methods
org.apache.xmpbox.type

public Class ThumbnailType

extends AbstractStructuredType
Class Inheritance
Annotations
@StructuredType
preferedPrefix:xmpGImg
namespace:http://ns.adobe.com/xap/1.0/g/img/
Imports
org.apache.xmpbox.XMPMetadata, .XmpConstants

Object representation of an Thumbnail XMP type
Author
eric

Field Summary

Modifier and TypeField and Description
public static final String
public static final String
public static final String
public static final String
Inherited from org.apache.xmpbox.type.AbstractStructuredType:
STRUCTURE_ARRAY_NAME

Constructor Summary

AccessConstructor and Description
public
ThumbnailType(XMPMetadata
The metadata to attach to this property
metadata
)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the format
getFormat
()

Get Format

public Integer

Returns:

the height
getHeight
()

Get Height

public String

Returns:

the img
getImage
()

Get The img data

public Integer

Returns:

the width
getWidth
()

Get Width

public void
setFormat(String
the value of format property to set
format
)

Set Format

public void
setHeight(Integer
the value of Height property to set
height
)

Set Height

public void
setImage(String
the value of image property to set
image
)

Set Image data

public void
setWidth(Integer
the value of width property to set
width
)

Set Width

Inherited from org.apache.xmpbox.type.AbstractStructuredType:
addSimplePropertycreateArrayPropertycreateTextTypegetDatePropertyAsCalendargetNamespacegetPreferedPrefixgetPrefixgetPropertyValueAsStringsetNamespacesetPrefix

Field Detail

FORMATback to summary
public static final String FORMAT
Annotations
@PropertyType
type:Choice
card:Simple
HEIGHTback to summary
public static final String HEIGHT
Annotations
@PropertyType
type:Integer
card:Simple
IMAGEback to summary
public static final String IMAGE
Annotations
@PropertyType
type:Text
card:Simple
WIDTHback to summary
public static final String WIDTH
Annotations
@PropertyType
type:Integer
card:Simple

Constructor Detail

ThumbnailTypeback to summary
public ThumbnailType(XMPMetadata metadata)
Parameters
metadata:XMPMetadata

The metadata to attach to this property

Method Detail

getFormatback to summary
public String getFormat()

Get Format

Returns:String

the format

getHeightback to summary
public Integer getHeight()

Get Height

Returns:Integer

the height

getImageback to summary
public String getImage()

Get The img data

Returns:String

the img

getWidthback to summary
public Integer getWidth()

Get Width

Returns:Integer

the width

setFormatback to summary
public void setFormat(String format)

Set Format

Parameters
format:String

the value of format property to set

setHeightback to summary
public void setHeight(Integer height)

Set Height

Parameters
height:Integer

the value of Height property to set

setImageback to summary
public void setImage(String image)

Set Image data

Parameters
image:String

the value of image property to set

setWidthback to summary
public void setWidth(Integer width)

Set Width

Parameters
width:Integer

the value of width property to set