public class AFPDataObjectInfo extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
DEFAULT_MAPPING_OPTION |
Constructor and Description |
---|
AFPDataObjectInfo()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Returns the object data
|
int |
getDataHeight()
Returns the image data height
|
int |
getDataHeightRes()
Returns the data height resolution
|
int |
getDataWidth()
Returns the image data width
|
int |
getDataWidthRes()
Returns the data width resolution
|
byte |
getMappingOption()
Returns the way an image is mapped into its target area.
|
String |
getMimeType()
Returns the mime type of this data object
|
AFPObjectAreaInfo |
getObjectAreaInfo()
Returns the object area info
|
Registry.ObjectType |
getObjectType()
Convenience method to return the object type
|
AFPResourceInfo |
getResourceInfo()
Returns the resource level at which this data object should reside
|
byte[] |
getTransparencyMask() |
String |
getUri()
Returns the uri of this data object
|
boolean |
isCreatePageSegment()
Indicates whether a page segment or a normal object shall be created.
|
boolean |
isUseIocaImages() |
void |
setCreatePageSegment(boolean value)
Controls whether to create a page segment or a normal object.
|
void |
setData(byte[] data)
Sets the object data
|
void |
setDataHeight(int imageDataHeight)
Sets the image data height
|
void |
setDataHeightRes(int dataHeightRes)
Sets the data height resolution
|
void |
setDataWidth(int imageDataWidth)
Sets the image data width
|
void |
setDataWidthRes(int dataWidthRes)
Sets the data width resolution
|
void |
setMappingOption(byte mappingOption)
Sets the way an image is mapped into its target area.
|
void |
setMimeType(String mimeType)
Sets the image mime type
|
void |
setObjectAreaInfo(AFPObjectAreaInfo objectAreaInfo)
Sets the object area info
|
void |
setResourceInfo(AFPResourceInfo resourceInfo)
Sets the resource level at which this object should reside
|
void |
setTransparencyMask(byte[] transparencyMask) |
void |
setUri(String uri)
Sets the data object uri
|
void |
setUseIocaImages(boolean useIocaImages) |
String |
toString() |
public static final byte DEFAULT_MAPPING_OPTION
public void setMimeType(String mimeType)
mimeType
- the image mime typepublic String getMimeType()
public Registry.ObjectType getObjectType()
public AFPResourceInfo getResourceInfo()
public void setResourceInfo(AFPResourceInfo resourceInfo)
resourceInfo
- the resource level at which this data object should residepublic void setObjectAreaInfo(AFPObjectAreaInfo objectAreaInfo)
objectAreaInfo
- the object area infopublic AFPObjectAreaInfo getObjectAreaInfo()
public String getUri()
public void setUri(String uri)
uri
- the data object uripublic int getDataWidth()
public void setDataWidth(int imageDataWidth)
imageDataWidth
- the image data widthpublic int getDataHeight()
public void setDataHeight(int imageDataHeight)
imageDataHeight
- the image data heightpublic int getDataHeightRes()
public void setDataHeightRes(int dataHeightRes)
dataHeightRes
- the data height resolutionpublic int getDataWidthRes()
public void setDataWidthRes(int dataWidthRes)
dataWidthRes
- the data width resolutionpublic void setData(byte[] data)
data
- the object datapublic byte[] getData()
public void setTransparencyMask(byte[] transparencyMask)
public byte[] getTransparencyMask()
public void setCreatePageSegment(boolean value)
value
- true for page segments, false for objectspublic boolean isCreatePageSegment()
public void setMappingOption(byte mappingOption)
mappingOption
- the mapping option (Valid values: see Mapping Option Triplet)public byte getMappingOption()
public void setUseIocaImages(boolean useIocaImages)
public boolean isUseIocaImages()
Copyright © 2025 Apache Software Foundation. All rights reserved.