Class AztecBarcodeType


  • public class AztecBarcodeType
    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 aztec barcode.</p>
     

    Java class for AztecBarcodeType complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="AztecBarcodeType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}BaseBarcodeType">
           <attribute name="errorCorrection" default="7">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="1"/>
                 <maxInclusive value="100"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="layers" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="-4"/>
                 <maxInclusive value="32"/>
               </restriction>
             </simpleType>
           </attribute>
         </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 Aztec Codes. The higher the level, the more error-resistant the barcode, ensuring that damaged codes will still be readable. A percentage value of one to one hundred can be entered.</p>
         
      • layers

        protected Integer layers
         <?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 specify the number of layers that the generated Aztec Code should use. The higher the number, the larger the resulting barcode and its capacity.
                                         <ul><li>"-4" to "-1" = Compact Aztec Code with a minimum capacity of 13 digits or 12 letters and an area of 15 x 15 pixels.</li><li>"0" = Standard Aztec Code that will be optimized in order to use the smallest possible of layers for the value that is being encoded.</li><li>"1" to "32" = Standard Aztec Code with a maximum capacity of 3832 digits or 3067 letters and an area of 151 x 151 pixels.</li></ul></p>
         
    • Constructor Detail

      • AztecBarcodeType

        public AztecBarcodeType()
    • 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 Aztec Codes. The higher the level, the more error-resistant the barcode, ensuring that damaged codes will still be readable. A percentage value of one to one hundred can be entered.</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()
      • getLayers

        public int getLayers()
         <?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 specify the number of layers that the generated Aztec Code should use. The higher the number, the larger the resulting barcode and its capacity.
                                         <ul><li>"-4" to "-1" = Compact Aztec Code with a minimum capacity of 13 digits or 12 letters and an area of 15 x 15 pixels.</li><li>"0" = Standard Aztec Code that will be optimized in order to use the smallest possible of layers for the value that is being encoded.</li><li>"1" to "32" = Standard Aztec Code with a maximum capacity of 3832 digits or 3067 letters and an area of 151 x 151 pixels.</li></ul></p>
         
        Returns:
        possible object is Integer
      • setLayers

        public void setLayers​(int value)
        Sets the value of the layers property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getLayers()
      • isSetLayers

        public boolean isSetLayers()
      • unsetLayers

        public void unsetLayers()