Class BarcodeType

  • All Implemented Interfaces:
    ParameterInterface

    public class BarcodeType
    extends Object
    implements ParameterInterface
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p122528_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p474718_="https://jakarta.ee/xml/ns/jaxb" xmlns:p929760_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The "Barcode" web service can be used to generate and recognize barcodes in PDF documents.
                         The <code>&lt;add&gt;</code> element is used to add barcodes, while the <code>&lt;detect&gt;</code> element is used to read existing barcodes.
                     </p>
     

    Java class for BarcodeType complex type

    .

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

    
     <complexType name="BarcodeType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice>
             <element name="add">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <choice maxOccurs="unbounded">
                       <element name="aztec" type="{http://schema.webpdf.de/1.0/operation}AztecBarcodeType"/>
                       <element name="codabar" type="{http://schema.webpdf.de/1.0/operation}CodabarBarcodeType"/>
                       <element name="code128" type="{http://schema.webpdf.de/1.0/operation}Code128BarcodeType"/>
                       <element name="code39" type="{http://schema.webpdf.de/1.0/operation}Code39BarcodeType"/>
                       <element name="datamatrix" type="{http://schema.webpdf.de/1.0/operation}DataMatrixBarcodeType"/>
                       <element name="ean13" type="{http://schema.webpdf.de/1.0/operation}Ean13BarcodeType"/>
                       <element name="ean8" type="{http://schema.webpdf.de/1.0/operation}Ean8BarcodeType"/>
                       <element name="itf" type="{http://schema.webpdf.de/1.0/operation}ItfBarcodeType"/>
                       <element name="pdf417" type="{http://schema.webpdf.de/1.0/operation}Pdf417BarcodeType"/>
                       <element name="qrcode" type="{http://schema.webpdf.de/1.0/operation}QrBarcodeType"/>
                       <element name="upca" type="{http://schema.webpdf.de/1.0/operation}UpcaBarcodeType"/>
                       <element name="qrswiss" type="{http://schema.webpdf.de/1.0/operation}QrSwissPaymentBarcodeType"/>
                     </choice>
                     <attribute name="outputFormat" type="{http://schema.webpdf.de/1.0/operation}BarcodeCreateOutputFormatType" default="pdf" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="detect">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <choice maxOccurs="unbounded">
                       <element name="selection" type="{http://schema.webpdf.de/1.0/operation}BarcodeSelectionType"/>
                     </choice>
                     <attribute name="outputFormat" type="{http://schema.webpdf.de/1.0/operation}BarcodeDetectOutputFormatType" default="json" />
                     <attribute name="inputFormat" type="{http://schema.webpdf.de/1.0/operation}BarcodeDetectInputFormatType" default="pdf" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </choice>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • add

        protected BarcodeType.Add add
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p122528_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p474718_="https://jakarta.ee/xml/ns/jaxb" xmlns:p929760_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to add a new barcode to the document.</p>
         
      • detect

        protected BarcodeType.Detect detect
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p122528_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p474718_="https://jakarta.ee/xml/ns/jaxb" xmlns:p929760_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">This operation is used to define the barcode recognition parameters. The system will attempt to find barcodes inside the area defined with <code>&lt;scanArea&gt;</code>. The recognition process itself is controlled with <code>&lt;selection&gt;</code>.
                                 </p>
         
    • Constructor Detail

      • BarcodeType

        public BarcodeType()
    • Method Detail

      • getAdd

        public BarcodeType.Add getAdd()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p122528_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p474718_="https://jakarta.ee/xml/ns/jaxb" xmlns:p929760_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to add a new barcode to the document.</p>
         
        Returns:
        possible object is BarcodeType.Add
      • isSetAdd

        public boolean isSetAdd()
      • getDetect

        public BarcodeType.Detect getDetect()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p122528_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p474718_="https://jakarta.ee/xml/ns/jaxb" xmlns:p929760_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">This operation is used to define the barcode recognition parameters. The system will attempt to find barcodes inside the area defined with <code>&lt;scanArea&gt;</code>. The recognition process itself is controlled with <code>&lt;selection&gt;</code>.
                                 </p>
         
        Returns:
        possible object is BarcodeType.Detect
      • isSetDetect

        public boolean isSetDetect()