public static class LLE_LinkLogicalElement.LLE_RepeatingGroup extends java.lang.Object implements IAFPDecodeableWriteable, IHasTriplets
| Modifier and Type | Class and Description |
|---|---|
static class |
LLE_LinkLogicalElement.LLE_RepeatingGroup.LLE_RepeatingGroupFunction |
| Constructor and Description |
|---|
LLE_RepeatingGroup() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTriplet(Triplet triplet)
|
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 |
getLengthOfRepeatingGroup() |
LLE_LinkLogicalElement.LLE_RepeatingGroup.LLE_RepeatingGroupFunction |
getRepeatingGroupFunction() |
java.util.List<Triplet> |
getTriplets()
Returns the list of
Triplets. |
void |
removeTriplet(Triplet triplet)
|
void |
setLengthOfRepeatingGroup(int lengthOfRepeatingGroup) |
void |
setRepeatingGroupFunction(LLE_LinkLogicalElement.LLE_RepeatingGroup.LLE_RepeatingGroupFunction repeatingGroupFunction) |
void |
setTriplets(java.util.List<Triplet> triplets)
Sets the list of
Triplets. |
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 java.util.List<Triplet> getTriplets()
IHasTripletsTriplets.getTriplets in interface IHasTripletspublic void setTriplets(java.util.List<Triplet> triplets)
IHasTripletsTriplets.setTriplets in interface IHasTripletspublic void addTriplet(Triplet triplet)
IHasTripletsaddTriplet in interface IHasTripletstriplet - Triplet to add.public void removeTriplet(Triplet triplet)
IHasTripletsremoveTriplet in interface IHasTripletstriplet - Triplet to remove.public int getLengthOfRepeatingGroup()
public void setLengthOfRepeatingGroup(int lengthOfRepeatingGroup)
public LLE_LinkLogicalElement.LLE_RepeatingGroup.LLE_RepeatingGroupFunction getRepeatingGroupFunction()
public void setRepeatingGroupFunction(LLE_LinkLogicalElement.LLE_RepeatingGroup.LLE_RepeatingGroupFunction repeatingGroupFunction)