Initialize this converter.
@param converter The next converter in the converter chain.
@param converterAlt The first converter on this list of alternates.
327941
public void init(Converter converter, Converter converterAlt)
    {
        m_bEnableTranslation = true;
        m_bSetData = false;
        super.init(converter);
        if (converterAlt != null)
            this.addConverterToPass(converterAlt);
    }
1233262
void setInitializationData(Bundle contributingBundle, ServiceReference<?> urlConverterSR) {
		if (this.contributingBundle != null || this.urlConverterSR != null) {
			throw new IllegalStateException();
		}
		this.contributingBundle = contributingBundle;
		this.urlConverterSR = urlConverterSR;
	}
34348
public void setPresetTransformer(int transformerId){
        for(Transformer t : Transformer.values()){
            if(t.ordinal() == transformerId){
                setPresetTransformer(t);
                break;
            }
        }
    }
107564
public Converter<OrmDescriptor> getOrCreateConverter()
   {
      List<Node> nodeList = model.get("converter");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new ConverterImpl<OrmDescriptor>(this, "converter", model, nodeList.get(0));
      }
      return createConverter();
   }
271102
void convertWith(Converter converter, String attribute) {
        List<Converter> list = attributeConverters.get(attribute);
        if (list == null) {
            list = new ArrayList<>();
            attributeConverters.put(attribute, list);
        }
        list.add(converter);
    }
339346
private void registerConverterInstance(Class<?> valueType, Converter converter)
  {
    if(converters.put(valueType, converter) == null) {
      log.debug("Register converter |%s| for value type |%s|.", converter.getClass(), valueType);
    }
    else {
      log.warn("Override converter |%s| for value type |%s|.", converter.getClass(), valueType);
    }
  }
531356
public static <A, B, C> Converter<Example<A, C>, Example<B, C>> inputConverter(Converter<A, B> converter) {
    return new ExampleConverter<A, C, B, C>(converter, Converters.<C> identity());
  }
826044
public void init(Record record, String strLinkedRecord, int iFieldSeq)
    {
        super.init(null);
        m_MergeRecord = record;
        m_strLinkedRecord = strLinkedRecord;
        m_FieldSeq = iFieldSeq;
        if (record != null)
            record.addListener(new RemoveConverterOnCloseHandler(this));    // Because this is a converter (not a fieldConverter)
    }
259479
public static NumConverter setNumConverter(Class customClass, NumConverter converter) {
		converterCache.put(customClass, converter);
		return converter;
    }
42006
public Anima addConverter(Converter<?>... converters) {
        ifThrow(null == converters || converters.length == 0,
                new AnimaException("converters not be null."));

        for (Converter<?> converter : converters) {
            Class<?> type = AnimaUtils.getConverterType(converter);
            sql2o.getQuirks().addConverter(type, converter);
        }
        return this;
    }
181813
public void init(Convert converter)
    {
        m_converter = converter;
        if (converter != null)
            this.setColumns(converter.getMaxLength());
    }
1041196
public function add(TypeConverterInterface $converter): self
    {
        if ($this->has($converter)) {
            throw new InvalidArgumentException(
                'Converter for this type already exists'
            );
        }

        return $this->set($converter);
    }
221589
public JodaBeanSer withConverter(StringConvert converter) {
        JodaBeanUtils.notNull(converter, "converter");
        return new JodaBeanSer(indent, newLine, converter, iteratorFactory, shortTypes, deserializers, includeDerived);
    }
313430
public static void register(Class<?> clazz, Function<Object, ?> converter) {
      if (clazz == null || converter == null) {
         log.warn("Trying to register either a null class ({0}) or a null converter ({1}). Ignoring!",
                  clazz,
                  converter);
         return;
      }
      converters.put(clazz, converter);
   }
655707
public static <A, B, C, D> Converter<Example<A, B>, Example<C, D>> converter(
      Converter<A, C> inputConverter, Converter<B, D> outputConverter) {
    return new ExampleConverter<A, B, C, D>(inputConverter, outputConverter);
  }
130241
public void init(Converter converter, Record recordTarget, int iKeyArea)
    {
        super.init(converter, Constants.BLANK, true);

        m_iKeyArea = iKeyArea;
        m_recordTarget = recordTarget;
        m_objTarget = Integer.toString(iKeyArea);
        
        m_strAltDesc = "Key " + m_objTarget;    // Default
        if (m_recordTarget != null)
        {
            BaseField mainField = m_recordTarget.getTable().getCurrentTable().getRecord().getKeyArea(m_iKeyArea).getField(DBConstants.MAIN_KEY_FIELD);
            m_strAltDesc = mainField.getFieldDesc();
        }
    }
1052576
protected void secondary(final String name, final AttributeConverter<? extends Object> converter) {
        secondaries.add(name);
        converters.put(name, converter);
    }