public class BDA_BarCodeData extends StructuredField
| Modifier and Type | Class and Description |
|---|---|
static class |
BDA_BarCodeData.BarCodeFlag |
static class |
BDA_BarCodeData.ParametersData |
static class |
BDA_BarCodeData.ParametersDataMatrixBarcode |
static class |
BDA_BarCodeData.ParametersDataMaxiCode_2D |
static class |
BDA_BarCodeData.ParametersDataPDF417_2D |
static class |
BDA_BarCodeData.ParametersDataQRCode_2D |
| Constructor and Description |
|---|
BDA_BarCodeData() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBarCodeFlag(BDA_BarCodeData.BarCodeFlag barCodeFlag)
Adds the given
BDA_BarCodeData.BarCodeFlag to the set of BDA_BarCodeData.BarCodeFlag. |
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.EnumSet<BDA_BarCodeData.BarCodeFlag> |
getBarCodeFlags() |
int |
getxOffset() |
int |
getyOffset() |
void |
setBarCodeFlags(java.util.EnumSet<BDA_BarCodeData.BarCodeFlag> barCodeFlags) |
void |
setxOffset(int xOffset) |
void |
setyOffset(int yOffset) |
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 java.util.EnumSet<BDA_BarCodeData.BarCodeFlag> getBarCodeFlags()
public void setBarCodeFlags(java.util.EnumSet<BDA_BarCodeData.BarCodeFlag> barCodeFlags)
public void addBarCodeFlag(BDA_BarCodeData.BarCodeFlag barCodeFlag)
BDA_BarCodeData.BarCodeFlag to the set of BDA_BarCodeData.BarCodeFlag. Takes care of mutual
exclusive BDA_BarCodeData.BarCodeFlag.public int getxOffset()
public void setxOffset(int xOffset)
public int getyOffset()
public void setyOffset(int yOffset)