public class BDD_BarCodeDataDescriptor extends StructuredField
| Modifier and Type | Class and Description |
|---|---|
static class |
BDD_BarCodeDataDescriptor.BarCodeType |
| Constructor and Description |
|---|
BDD_BarCodeDataDescriptor() |
| 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. |
byte |
getBarcodeModifier() |
BDD_BarCodeDataDescriptor.BarCodeType |
getBarcodeType() |
int |
getColor() |
short |
getDesiredSymbolWidth() |
int |
getElementHeight() |
short |
getFontLocalIDForHRI() |
short |
getHeightMultiplier() |
short |
getModuleWidthInMils() |
int |
getPresentationSpaceLength() |
int |
getPresentationSpaceWidth() |
static byte |
getReserved1() |
AFPUnitBase |
getUnitBase() |
short |
getUnitsPerUnitBaseX() |
short |
getUnitsPerUnitBaseY() |
int |
getWideToNarrowRatio() |
void |
setBarcodeModifier(byte barcodeModifier) |
void |
setBarcodeType(BDD_BarCodeDataDescriptor.BarCodeType barcodeType) |
void |
setColor(int color) |
void |
setDesiredSymbolWidth(short desiredSymbolWidth) |
void |
setElementHeight(int elementHeight) |
void |
setFontLocalIDForHRI(short fontLocalIDForHRI) |
void |
setHeightMultiplier(short heightMultiplier) |
void |
setModuleWidthInMils(short moduleWidthInMils) |
void |
setPresentationSpaceLength(int presentationSpaceLength) |
void |
setPresentationSpaceWidth(int presentationSpaceWidth) |
static void |
setReserved1(byte reserved1) |
void |
setUnitBase(AFPUnitBase unitBase) |
void |
setUnitsPerUnitBaseX(short unitsPerUnitBaseX) |
void |
setUnitsPerUnitBaseY(short unitsPerUnitBaseY) |
void |
setWideToNarrowRatio(int wideToNarrowRatio) |
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 static byte getReserved1()
public static void setReserved1(byte reserved1)
public 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 AFPUnitBase getUnitBase()
public void setUnitBase(AFPUnitBase unitBase)
public short getUnitsPerUnitBaseX()
public void setUnitsPerUnitBaseX(short unitsPerUnitBaseX)
public short getUnitsPerUnitBaseY()
public void setUnitsPerUnitBaseY(short unitsPerUnitBaseY)
public int getPresentationSpaceWidth()
public void setPresentationSpaceWidth(int presentationSpaceWidth)
public int getPresentationSpaceLength()
public void setPresentationSpaceLength(int presentationSpaceLength)
public short getDesiredSymbolWidth()
public void setDesiredSymbolWidth(short desiredSymbolWidth)
public BDD_BarCodeDataDescriptor.BarCodeType getBarcodeType()
public void setBarcodeType(BDD_BarCodeDataDescriptor.BarCodeType barcodeType)
public byte getBarcodeModifier()
public void setBarcodeModifier(byte barcodeModifier)
public short getFontLocalIDForHRI()
public void setFontLocalIDForHRI(short fontLocalIDForHRI)
public int getColor()
public void setColor(int color)
public short getModuleWidthInMils()
public void setModuleWidthInMils(short moduleWidthInMils)
public int getElementHeight()
public void setElementHeight(int elementHeight)
public short getHeightMultiplier()
public void setHeightMultiplier(short heightMultiplier)
public int getWideToNarrowRatio()
public void setWideToNarrowRatio(int wideToNarrowRatio)