UPCEANWriter (ZXing 3.5.2 API)
Description: declaration: package: com.google.zxing.oned, class: UPCEANWriter

Package com.google.zxing.oned

# Class UPCEANWriter

java.lang.Object
com.google.zxing.oned.OneDimensionalCodeWriter
com.google.zxing.oned.UPCEANWriter

All Implemented Interfaces:
  `Writer`

Direct Known Subclasses:
  `EAN13Writer`, `EAN8Writer`, `UPCEWriter`

public abstract class UPCEANWriter extends OneDimensionalCodeWriter

Encapsulates functionality and implementation that is common to UPC and EAN families of one-dimensional barcodes.

Author:
  aripollak@gmail.com (Ari Pollak), dsbnatut@gmail.com (Kazuki Nishiura)

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UPCEANWriter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getDefaultMargin()`

  ### Methods inherited from class com.google.zxing.oned.OneDimensionalCodeWriter

  `appendPattern, checkNumeric, encode, encode, encode, encode, getSupportedWriteFormats`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### UPCEANWriter

    public UPCEANWriter()

- ## Method Details

  - ### getDefaultMargin

    public int getDefaultMargin()
    Overrides:
      `getDefaultMargin` in class `OneDimensionalCodeWriter`