com.java4less.vision.aztec
Class AztecData

java.lang.Object
  |
  +--com.java4less.vision.aztec.AztecData

public class AztecData
extends java.lang.Object

This class contains the information about a read barcode


Constructor Summary
AztecData()
           
 
Method Summary
 int getEClevel()
          return error correction level
 int[] getValue()
          scanned value
 java.lang.String getValueAsString()
          get decoded value as string ( use only for alpha or numeric data)
 int getX1()
          center of the upper left finding pattern
 int getY1()
          center of the upper left finding pattern
 boolean isDecodingSuccessfull()
          was decoding of the barcode successfull?
 void setDecodingSuccessfull(boolean decodingSuccessfull)
           
 void setEcLevel(int ecLevel)
           
 void setValue(int[] value)
           
 void setX1(int x)
          center of the finding pattern
 void setY1(int y)
          center of the finding pattern
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AztecData

public AztecData()
Method Detail

getEClevel

public int getEClevel()
return error correction level

Returns:

getValue

public int[] getValue()
scanned value

Returns:

getX1

public int getX1()
center of the upper left finding pattern

Returns:

getY1

public int getY1()
center of the upper left finding pattern

Returns:

getValueAsString

public java.lang.String getValueAsString()
get decoded value as string ( use only for alpha or numeric data)

Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setValue

public void setValue(int[] value)

setX1

public void setX1(int x)
center of the finding pattern

Parameters:
x -

setY1

public void setY1(int y)
center of the finding pattern

Parameters:
y -

setEcLevel

public void setEcLevel(int ecLevel)

isDecodingSuccessfull

public boolean isDecodingSuccessfull()
was decoding of the barcode successfull?

Returns:

setDecodingSuccessfull

public void setDecodingSuccessfull(boolean decodingSuccessfull)