public class IMImageObject extends AbstractNamedAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
name
triplets
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
IMImageObject(java.lang.String name)
Constructor for the image object with the specified name,
the name must be a fixed length of eight characters.
|
Modifier and Type | Method and Description |
---|---|
void |
setImageCellPosition(ImageCellPosition imageCellPosition)
Sets the ImageCellPosition.
|
void |
setImageInputDescriptor(ImageInputDescriptor imageInputDescriptor)
Sets the ImageInputDescriptor.
|
void |
setImageOutputControl(ImageOutputControl imageOutputControl)
Sets the ImageOutputControl.
|
void |
setImageRasterData(ImageRasterData imageRasterData)
Sets the ImageRastorData.
|
protected void |
writeContent(java.io.OutputStream os)
Helper method to write the contents of the Object.
|
protected void |
writeEnd(java.io.OutputStream os)
Helper method to write the end of the Object.
|
protected void |
writeStart(java.io.OutputStream os)
Helper method to write the start of the Object.
|
copySF, getName, getNameBytes, getNameLength, setName, toString
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
writeToStream
copySF, truncate, writeChunksToStream, writeObjects
public IMImageObject(java.lang.String name)
name
- The name of the image.public void setImageOutputControl(ImageOutputControl imageOutputControl)
imageOutputControl
- The imageOutputControl to setpublic void setImageCellPosition(ImageCellPosition imageCellPosition)
imageCellPosition
- The imageCellPosition to setpublic void setImageInputDescriptor(ImageInputDescriptor imageInputDescriptor)
imageInputDescriptor
- The imageInputDescriptor to setpublic void setImageRasterData(ImageRasterData imageRasterData)
imageRasterData
- The imageRasterData to setprotected void writeContent(java.io.OutputStream os) throws java.io.IOException
writeContent
in class AbstractStructuredObject
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredprotected void writeStart(java.io.OutputStream os) throws java.io.IOException
writeStart
in class AbstractStructuredObject
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredprotected void writeEnd(java.io.OutputStream os) throws java.io.IOException
writeEnd
in class AbstractStructuredObject
os
- The stream to write tojava.io.IOException
- an I/O exception if one occurredCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.