Add an attribute as a primary one and its converter.

@param name name of the attribute
@param converter converter
485619
public void profileAttribute(final String name, final AttributeConverter<? extends Object> converter) {
        profileAttribute(name, name, converter);
    }
221589
public JodaBeanSer withConverter(StringConvert converter) {
        JodaBeanUtils.notNull(converter, "converter");
        return new JodaBeanSer(indent, newLine, converter, iteratorFactory, shortTypes, deserializers, includeDerived);
    }
470971
public void add(IConverter converter, Object sourceObject,
			TypeReference<?> destinationType, Object convertedObject) {
		convertedObjects.put(new ConvertedObjectsKey(converter, sourceObject,
				destinationType), convertedObject);
	}
508273
public <FT> void registerConverter(Class<FT> clazz, Converter<FT, ?> converter) {
		converterMap.put(clazz, converter);
	}
487210
public void profileAttribute(final String name, String tag, final AttributeConverter<? extends Object> converter) {
        profileAttributes.put(name, tag);
        if (converter != null) {
            getConverters().put(name, converter);
        } else {
            getConverters().put(name, new StringConverter());
        }
    }
652217
public void registerPropertyConverter(String propertyName, Converter toConverter, Converter fromConverter) {
		DefaultConversionService propertyConversionService = (DefaultConversionService) propertyConversionServices
				.get(propertyName);
		propertyConversionService.addConverter(toConverter);
		propertyConversionService.addConverter(fromConverter);
	}
796139
protected <T> void addConverter(Class<T> type, Converter<T> converter) {
        storage.put(type, converter);
    }
122911
public XMLAttributeList addAttribute(@Nonnull String name, @Nonnull String value) {
        if (name == null) {
            throw new NullPointerException("name must be nonnull");
        }
        if (value == null) {
            throw new NullPointerException("value must be nonnull");
        }
        nameValuePairList.add(new NameValuePair(name, value));
        return this;
    }
1348603
public void removeConverter()
    {
        if (m_converter != null)
        {
            Converter converter = m_converter;
            m_converter = null;   // This keeps this from being called twice
            converter.removeComponent(null);    // Just in case a converter was used (removes converter, leaves field!)
            if (m_converter instanceof BaseField)
            { // Special case - free this field if it is temporary and belongs to no records.
                if (((BaseField)m_converter).getRecord() == null)
                    m_converter.free();
            }
        }
        m_converter = null;
    }
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());
  }
662623
public function addConverter(ConverterInterface $converter)
    {
        $priority = $converter->getPriority();

        if (false === (is_int($priority) && $priority >= 0 && $priority <= 10)) {
            throw new \InvalidArgumentException(sprintf('Invalid priority at the converter: "%s".', get_class($converter)));
        }

        $this->queue->insert($converter, $priority);
    }
928291
public void addConverters(Converter converter, String... tags) {
        for (String tag : tags) {
            if (tag.startsWith("!")) {
                notConverters.put(tag.substring(1), converter);
            } else {
                converters.put(tag, converter);
            }
        }
    }
662663
public void addConverter(int index, IConverter converter) {
		converterList.add(index, converter);
		if (converter instanceof IContainerConverter) {
			IContainerConverter containerConverter = (IContainerConverter) converter;
			if (containerConverter.getElementConverter() == null) {
				containerConverter.setElementConverter(elementConverter);
			}
		}
	}
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);
  }
354119
public ConfigOptionBuilder setStringConverter( StringConverter converter ) {
        co.setConverter( converter );
        co.setHasArgument( true );
        return this;
    }
513287
void convertWith(Converter converter, String... attributes) {
        for (String attribute : attributes) {
            convertWith(converter, attribute);
        }
    }
574412
public PrimaryKey addComponent(String keyAttributeName, Object keyAttributeValue) {
        components.put(keyAttributeName,
            new KeyAttribute(keyAttributeName, keyAttributeValue));
        return this;
    }