public static class MCC_MediumCopyCount.MCC_RepeatingGroup extends java.lang.Object implements IAFPDecodeableWriteable
| Constructor and Description |
|---|
MCC_RepeatingGroup() |
| 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 |
getEndingCopyNumber() |
byte |
getMediumModificationControlIdentifier() |
byte |
getReserved4() |
short |
getStartingCopyNumber() |
void |
setEndingCopyNumber(short endingCopyNumber) |
void |
setMediumModificationControlIdentifier(byte mediumModificationControlIdentifier) |
void |
setReserved4(byte reserved4) |
void |
setStartingCopyNumber(short startingCopyNumber) |
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 short getStartingCopyNumber()
public void setStartingCopyNumber(short startingCopyNumber)
public short getEndingCopyNumber()
public void setEndingCopyNumber(short endingCopyNumber)
public byte getReserved4()
public void setReserved4(byte reserved4)
public byte getMediumModificationControlIdentifier()
public void setMediumModificationControlIdentifier(byte mediumModificationControlIdentifier)