|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlgraphics.image.loader.impl.AbstractImage org.krysalis.barcode4j.image.loader.ImageBarcode
public class ImageBarcode
Image implementation for barcodes. It implements the Image interface from Apache XML Graphic Commons.
Field Summary | |
---|---|
static org.apache.xmlgraphics.image.loader.ImageFlavor |
BARCODE_IMAGE_FLAVOR
Image flavor for Barcode4J barcodes |
Constructor Summary | |
---|---|
ImageBarcode(org.apache.xmlgraphics.image.loader.ImageInfo info,
org.apache.avalon.framework.configuration.Configuration barcodeXML,
BarcodeDimension bardim)
Main constructor. |
Method Summary | |
---|---|
BarcodeDimension |
getBarcodeDimension()
Returns the barcode dimensions. |
org.apache.avalon.framework.configuration.Configuration |
getBarcodeXML()
Returns the barcode XML as Avalon Configuration object. |
org.apache.xmlgraphics.image.loader.ImageFlavor |
getFlavor()
|
java.lang.String |
getMessage()
Returns the barcode message. |
boolean |
isCacheable()
|
Methods inherited from class org.apache.xmlgraphics.image.loader.impl.AbstractImage |
---|
getColorSpace, getICCProfile, getInfo, getSize, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final org.apache.xmlgraphics.image.loader.ImageFlavor BARCODE_IMAGE_FLAVOR
Constructor Detail |
---|
public ImageBarcode(org.apache.xmlgraphics.image.loader.ImageInfo info, org.apache.avalon.framework.configuration.Configuration barcodeXML, BarcodeDimension bardim)
info
- the image info objectbarcodeXML
- the Configuration object containing the barcode XMLbardim
- the barcode dimensionsMethod Detail |
---|
public org.apache.xmlgraphics.image.loader.ImageFlavor getFlavor()
public boolean isCacheable()
public org.apache.avalon.framework.configuration.Configuration getBarcodeXML()
public BarcodeDimension getBarcodeDimension()
public java.lang.String getMessage() throws org.apache.avalon.framework.configuration.ConfigurationException
org.apache.avalon.framework.configuration.ConfigurationException
- if an error occurs extracting the message from the
configuration object
|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |