code: public void setDataType(DataType dataType) {
          if (dataType == DataType.GS1 && !gs1Supported()) {
              throw new IllegalArgumentException("This symbology type does not support GS1 data.");
          }
          inputDataType = dataType;
      }
docs: <p>Sets the type of input data. This setting influences what pre-processing is done on
  data before encoding in the symbol. For example: for <code>GS1</code> mode the AI
  data will be used to calculate the position of 'FNC1' characters.
  
  <p>Valid values are:
  
  <ul>
  <li><code>UTF8</code> (default) Unicode encoding
  <li><code>LATIN1</code> ISO 8859-1 (Latin-1) encoding
  <li><code>BINARY</code> Byte encoding mode
  <li><code>GS1</code> Application Identifier and data pairs in "[AI]DATA" format
  <li><code>HIBC</code> Health Industry Bar Code number (without check digit)
  <li><code>ECI</code> Extended Channel Interpretations
  </ul>
  
  @param dataType the type of input data