public class IDD_ImageDataDescriptor extends StructuredField
| Constructor and Description |
|---|
IDD_ImageDataDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSelfDefiningFields(IDD_SelfDefiningField selfDefiningField) |
void |
decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
Decodes the given AFP data.
Parameter length specifies the length in bytes of the data to be decoded, beginning with position offset. |
short |
getHeightOfImageInImagePoints() |
java.util.List<IDD_SelfDefiningField> |
getSelfDefiningFields() |
AFPUnitBase |
getUnitBase() |
short |
getWidthOfImageInImagePoints() |
short |
getxImagePointsPerUnitBase() |
short |
getyImagePointsPerUnitBase() |
void |
removeSelfDefiningFields(IDD_SelfDefiningField selfDefiningField) |
void |
setHeightOfImageInImagePoints(short heightOfImageInImagePoints) |
void |
setSelfDefiningFields(java.util.List<IDD_SelfDefiningField> selfDefiningFields) |
void |
setUnitBase(AFPUnitBase unitBase) |
void |
setWidthOfImageInImagePoints(short widthOfImageInImagePoints) |
void |
setxImagePointsPerUnitBase(short xImagePointsPerUnitBase) |
void |
setyImagePointsPerUnitBase(short yImagePointsPerUnitBase) |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
checkDataLength, getActualLength, getPadding, getStructuredFieldIntroducer, isBeginSF, isEndSF, isShallow, setPadding, setStructuredFieldIntroducer, toString, writeFullStructuredFieldpublic void decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
throws AFPParserException
IAFPDecodeableWriteabledecodeAFP in interface IAFPDecodeableWriteabledecodeAFP in class StructuredFieldsfData - contains the AFP data to decode.offset - the byte index position where the decoding should start.length - the length in bytes of the data to be decoded, beginning with position offset.config - contains parameter used for decoding.AFPParserException - if the given AFP data are invalid.public void writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
throws java.io.IOException
IAFPDecodeableWriteablewriteAFP in interface IAFPDecodeableWriteablewriteAFP in class StructuredFieldos - OutputStream to write to.config - contains parameter used for encoding.java.io.IOException - if a problem occurs while writing to the given OutputStream.public AFPUnitBase getUnitBase()
public void setUnitBase(AFPUnitBase unitBase)
public short getxImagePointsPerUnitBase()
public void setxImagePointsPerUnitBase(short xImagePointsPerUnitBase)
public short getyImagePointsPerUnitBase()
public void setyImagePointsPerUnitBase(short yImagePointsPerUnitBase)
public short getWidthOfImageInImagePoints()
public void setWidthOfImageInImagePoints(short widthOfImageInImagePoints)
public short getHeightOfImageInImagePoints()
public void setHeightOfImageInImagePoints(short heightOfImageInImagePoints)
public java.util.List<IDD_SelfDefiningField> getSelfDefiningFields()
public void setSelfDefiningFields(java.util.List<IDD_SelfDefiningField> selfDefiningFields)
public void addSelfDefiningFields(IDD_SelfDefiningField selfDefiningField)
public void removeSelfDefiningFields(IDD_SelfDefiningField selfDefiningField)