public class BDM_BeginDataMap extends StructuredFieldBaseTriplets implements IHasName
| Modifier and Type | Class and Description |
|---|---|
static class |
BDM_BeginDataMap.BDM_DataFormat
Format of the data map of
BDM_BeginDataMap |
triplets| Constructor and Description |
|---|
BDM_BeginDataMap() |
| 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. |
BDM_BeginDataMap.BDM_DataFormat |
getDataFormat()
Returns the data format specified by this Data Map.
|
java.lang.String |
getName()
Returns the name.
|
void |
setDataFormat(BDM_BeginDataMap.BDM_DataFormat dataFormat)
Sets the data format specified by this
BDM_BeginDataMap. |
void |
setName(java.lang.String dataMapName)
Sets the name.
|
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
addTriplet, getTriplets, removeTriplet, setTripletscheckDataLength, 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 StructuredFieldBaseTripletssfData - 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 StructuredFieldBaseTripletsos - 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.lang.String getName()
IHasNamepublic void setName(java.lang.String dataMapName)
IHasNamepublic BDM_BeginDataMap.BDM_DataFormat getDataFormat()
public void setDataFormat(BDM_BeginDataMap.BDM_DataFormat dataFormat)
BDM_BeginDataMap.dataFormat - data format specified by this BDM_BeginDataMap