public class BRS_BeginResource extends StructuredFieldBaseName
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Triplet> |
triplets |
name| Constructor and Description |
|---|
BRS_BeginResource() |
| 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. |
java.util.List<Triplet> |
getTriplets() |
void |
removeTriplet(Triplet triplet) |
void |
setTriplets(java.util.List<Triplet> triplets) |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
getName, setNamecheckDataLength, getActualLength, getPadding, getStructuredFieldIntroducer, isBeginSF, isEndSF, isShallow, setPadding, setStructuredFieldIntroducer, toString, writeFullStructuredFieldprotected java.util.List<Triplet> triplets
public void decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
throws AFPParserException
IAFPDecodeableWriteabledecodeAFP in interface IAFPDecodeableWriteabledecodeAFP in class StructuredFieldBaseNamesfData - 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 StructuredFieldBaseNameos - OutputStream to write to.config - contains parameter used for encoding.java.io.IOException - if a problem occurs while writing to the given OutputStream.public final java.util.List<Triplet> getTriplets()
public final void setTriplets(java.util.List<Triplet> triplets)
public final void addTriplet(Triplet triplet)
public final void removeTriplet(Triplet triplet)