public class MCA_MapColorAttribteTable extends StructuredFieldBaseRepeatingGroups implements IHasRepeatingGroups
MO:DCA, page 383.
Map Color Attribute Table (MCA) structured field in MO:DCA-L data
streams. Note that the MO:DCA-L format has been functionally capped and is no longer defined in
the MO:DCA reference; for a definition of this format, see MO:DCA-L: The OS/2 Presentation
Manager Metafile (.met) Format.
| Modifier and Type | Class and Description |
|---|---|
static class |
MCA_MapColorAttribteTable.MCA_RepeatinGroup |
repeatingGroups| Constructor and Description |
|---|
MCA_MapColorAttribteTable() |
| 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. |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
addRepeatingGroup, getRepeatingGroups, removeRepeatingGroup, setRepeatingGroupscheckDataLength, getActualLength, getPadding, getStructuredFieldIntroducer, isBeginSF, isEndSF, isShallow, setPadding, setStructuredFieldIntroducer, toString, writeFullStructuredFieldclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddRepeatingGroup, getRepeatingGroups, removeRepeatingGroup, setRepeatingGroupspublic 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.