public class CCP_ConditionalProcessingControl extends StructuredField
| Modifier and Type | Class and Description |
|---|---|
static class |
CCP_ConditionalProcessingControl.CCP_Flag |
static class |
CCP_ConditionalProcessingControl.CCP_RepeatingGroup
Programming Guide and Line Data Reference (ha3l3r04.pdf), page 84
Each repeating group of the CCP contains action information. |
| Constructor and Description |
|---|
CCP_ConditionalProcessingControl() |
| 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. |
int |
getCcpIdentifier() |
CCP_ConditionalProcessingControl.CCP_Flag |
getFlag() |
int |
getLengthOfComparisonString() |
int |
getLengthOfRepeatingGroup() |
int |
getNextCcpIdentifier() |
int |
getNumberOfRepeatingGroups() |
java.util.List<CCP_ConditionalProcessingControl.CCP_RepeatingGroup> |
getRepeatingGroups() |
byte |
getReserved5() |
void |
setCcpIdentifier(int ccpIdentifier) |
void |
setFlag(CCP_ConditionalProcessingControl.CCP_Flag flag) |
void |
setLengthOfComparisonString(int lengthOfComparisonString) |
void |
setLengthOfRepeatingGroup(int lengthOfRepeatingGroup) |
void |
setNextCcpIdentifier(int nextCcpIdentifier) |
void |
setNumberOfRepeatingGroups(int numberOfRepeatingGroups) |
void |
setRepeatingGroups(java.util.List<CCP_ConditionalProcessingControl.CCP_RepeatingGroup> repeatingGroups) |
void |
setReserved5(byte reserved5) |
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 int getCcpIdentifier()
public void setCcpIdentifier(int ccpIdentifier)
public int getNextCcpIdentifier()
public void setNextCcpIdentifier(int nextCcpIdentifier)
public CCP_ConditionalProcessingControl.CCP_Flag getFlag()
public void setFlag(CCP_ConditionalProcessingControl.CCP_Flag flag)
public byte getReserved5()
public void setReserved5(byte reserved5)
public int getNumberOfRepeatingGroups()
public void setNumberOfRepeatingGroups(int numberOfRepeatingGroups)
public int getLengthOfRepeatingGroup()
public void setLengthOfRepeatingGroup(int lengthOfRepeatingGroup)
public int getLengthOfComparisonString()
public void setLengthOfComparisonString(int lengthOfComparisonString)
public java.util.List<CCP_ConditionalProcessingControl.CCP_RepeatingGroup> getRepeatingGroups()
public void setRepeatingGroups(java.util.List<CCP_ConditionalProcessingControl.CCP_RepeatingGroup> repeatingGroups)