Class DataMatrixBarcodeType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.BaseBarcodeType
-
- net.webpdf.wsclient.schema.operation.DataMatrixBarcodeType
-
public class DataMatrixBarcodeType extends BaseBarcodeType
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p343700_="https://jakarta.ee/xml/ns/jaxb" xmlns:p472644_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p752341_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">A DataMatrix barcode.</p>
Java class for DataMatrixBarcodeType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="DataMatrixBarcodeType"> <complexContent> <extension base="{http://schema.webpdf.de/1.0/operation}BaseBarcodeType"> <attribute name="errorCorrection" default="2"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="1"/> <maxInclusive value="8"/> </restriction> </simpleType> </attribute> <attribute name="shape" type="{http://schema.webpdf.de/1.0/operation}DataMatrixShapeType" default="default" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegererrorCorrection<?protected DataMatrixShapeTypeshape<?
-
Constructor Summary
Constructors Constructor Description DataMatrixBarcodeType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCorrection()<?DataMatrixShapeTypegetShape()<?booleanisSetErrorCorrection()booleanisSetShape()voidsetErrorCorrection(int value)Sets the value of the errorCorrection property.voidsetShape(DataMatrixShapeType value)Sets the value of the shape property.voidunsetErrorCorrection()-
Methods inherited from class net.webpdf.wsclient.schema.operation.BaseBarcodeType
getCharset, getMargin, getPages, getPosition, getRotation, getValue, isSetCharset, isSetMargin, isSetPages, isSetPosition, isSetRotation, isSetValue, setCharset, setMargin, setPages, setPosition, setRotation, setValue, unsetMargin, unsetRotation
-
-
-
-
Field Detail
-
errorCorrection
protected Integer errorCorrection
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p343700_="https://jakarta.ee/xml/ns/jaxb" xmlns:p472644_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p752341_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to adjust the error correction level for generated Data Matrix codes. The higher the level, the more error-resistant the barcode, ensuring that damaged codes will still be readable. A level of 1 to 8 can be specified.</p>
-
shape
protected DataMatrixShapeType shape
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p343700_="https://jakarta.ee/xml/ns/jaxb" xmlns:p472644_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p752341_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Can be used to force a specific shape for generated Data Matrix codes. <ul><li>default = Select an appropriate shape.</li><li>rectangle = Force a rectangular shape.</li><li>square = Force a square shape.</li></ul></p>
-
-
Method Detail
-
getErrorCorrection
public int getErrorCorrection()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p343700_="https://jakarta.ee/xml/ns/jaxb" xmlns:p472644_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p752341_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to adjust the error correction level for generated Data Matrix codes. The higher the level, the more error-resistant the barcode, ensuring that damaged codes will still be readable. A level of 1 to 8 can be specified.</p>
- Returns:
- possible object is
Integer
-
setErrorCorrection
public void setErrorCorrection(int value)
Sets the value of the errorCorrection property.- Parameters:
value- allowed object isInteger- See Also:
getErrorCorrection()
-
isSetErrorCorrection
public boolean isSetErrorCorrection()
-
unsetErrorCorrection
public void unsetErrorCorrection()
-
getShape
public DataMatrixShapeType getShape()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p343700_="https://jakarta.ee/xml/ns/jaxb" xmlns:p472644_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p752341_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Can be used to force a specific shape for generated Data Matrix codes. <ul><li>default = Select an appropriate shape.</li><li>rectangle = Force a rectangular shape.</li><li>square = Force a square shape.</li></ul></p>- Returns:
- possible object is
DataMatrixShapeType
-
setShape
public void setShape(DataMatrixShapeType value)
Sets the value of the shape property.- Parameters:
value- allowed object isDataMatrixShapeType- See Also:
getShape()
-
isSetShape
public boolean isSetShape()
-
-