Class 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 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>
         
    • Constructor Detail

      • DataMatrixBarcodeType

        public DataMatrixBarcodeType()
    • 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 is Integer
        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
      • isSetShape

        public boolean isSetShape()