Open Source Repository

Home /itextpdf/itextpdf-5.1.2 | Repository Home



com/itextpdf/text/pdf/qrcode/EncodeHintType.java
/*
 * Copyright 2008 ZXing authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.itextpdf.text.pdf.qrcode;

/**
 * These are a set of hints that you may pass to Writers to specify their behavior.
 *
 @author [email protected] (Daniel Switkin)
 @since 5.0.2
 */
public final class EncodeHintType {

  /**
   * Specifies what degree of error correction to use, for example in QR Codes (type Integer).
   */
  public static final EncodeHintType ERROR_CORRECTION = new EncodeHintType();

  /**
   * Specifies what character encoding to use where applicable (type String)
   */
  public static final EncodeHintType CHARACTER_SET = new EncodeHintType();

  private EncodeHintType() {
  }

}