public static class CAT_ColorAttributeTable.CAT_BasePart extends java.lang.Object implements IAFPDecodeableWriteable
| Modifier and Type | Class and Description |
|---|---|
static class |
CAT_ColorAttributeTable.CAT_BasePart.ResetLCTFlag |
| Constructor and Description |
|---|
CAT_BasePart() |
| Modifier and Type | Method and Description |
|---|---|
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 |
getColorTableLocalID() |
byte |
getReserved1() |
CAT_ColorAttributeTable.CAT_BasePart.ResetLCTFlag |
getResetLCTFlag() |
void |
setColorTableLocalID(short colorTableLocalID) |
void |
setReserved1(byte reserved1) |
void |
setResetLCTFlag(CAT_ColorAttributeTable.CAT_BasePart.ResetLCTFlag resetLCTFlag) |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
public void decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
throws AFPParserException
IAFPDecodeableWriteabledecodeAFP in interface IAFPDecodeableWriteablesfData - 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 IAFPDecodeableWriteableos - OutputStream to write to.config - contains parameter used for encoding.java.io.IOException - if a problem occurs while writing to the given OutputStream.public CAT_ColorAttributeTable.CAT_BasePart.ResetLCTFlag getResetLCTFlag()
public void setResetLCTFlag(CAT_ColorAttributeTable.CAT_BasePart.ResetLCTFlag resetLCTFlag)
public byte getReserved1()
public void setReserved1(byte reserved1)
public short getColorTableLocalID()
public void setColorTableLocalID(short colorTableLocalID)