| Package | Description |
|---|---|
| net.sf.mmm.util.lang.api |
Provides the API for utilities of general purpose.
|
| net.sf.mmm.util.lang.base |
Contains the basic implementation of the Util Lang API.
|
| net.sf.mmm.util.value.api |
Provides the API for generic handling of values.
|
| net.sf.mmm.util.value.base |
Contains the base-implementations of the
value API. |
| net.sf.mmm.util.value.impl |
Contains the implementation of the
Value-Util API. |
| Modifier and Type | Method and Description |
|---|---|
<E> void |
StringUtil.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax,
Collection<E> collection,
ValueConverter<? super String,? super E> converter,
Class<E> type)
This method parses the given
separatedString that contains elements separated with
separator and the given syntax and adds these
elements to the given collection. |
<E> void |
StringUtil.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax,
Collection<E> collection,
ValueConverter<String,E> converter)
This method parses the given
separatedString that contains elements separated with
separator and the given syntax and adds these
elements to the given collection. |
| Modifier and Type | Method and Description |
|---|---|
<E> void |
StringUtilImpl.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax,
Collection<E> collection,
ValueConverter<? super String,? super E> converter,
Class<E> type)
This method parses the given
separatedString that contains elements separated with
separator and the given syntax and adds these
elements to the given collection. |
<E> void |
StringUtilImpl.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax,
Collection<E> collection,
ValueConverter<String,E> converter)
This method parses the given
separatedString that contains elements separated with
separator and the given syntax and adds these
elements to the given collection. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ComposedValueConverter
This is the interface for a
ValueConverter that is composed out of individual
ValueConverters. |
| Modifier and Type | Method and Description |
|---|---|
ComposedValueConverter |
ComposedValueConverterFactory.createConverter(boolean addDefaultConverters,
List<ValueConverter<?,?>> converterList)
Creates a new custom instance of
ComposedValueConverter with the given configuration. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractComposedValueConverter
This is the abstract base implementation of the
ComposedValueConverter interface. |
class |
AbstractRecursiveValueConverter<SOURCE,TARGET>
This is an abstract base-implementation for a
ValueConverter that
performs recursive conversions on the owning-converter for converting
child values. |
class |
AbstractSimpleValueConverter<SOURCE,TARGET>
This is an abstract base-implementation of the
ValueConverter interface that simply works with
Class rather than GenericType. |
class |
AbstractValueConverter<SOURCE,TARGET>
This is the abstract base-implementation of the
ValueConverter interface. |
class |
ValueConverterIdentity<V>
This is an implementation of
ValueConverter that returns the unmodified
value (identity conversion). |
| Modifier and Type | Field and Description |
|---|---|
private List<ValueConverter<?,?>> |
ComposedValueConverterImpl.converters |
private List<ValueConverter<?,?>> |
ComposedValueConverterFactoryImpl.converters |
private Map<Class<?>,ValueConverter<?,TARGET>> |
ComposedValueConverterImpl.ComposedTargetTypeConverter.sourceClass2converterMap |
| Modifier and Type | Method and Description |
|---|---|
ValueConverter<?,TARGET> |
ComposedValueConverterImpl.ComposedTargetTypeConverter.addConverter(ValueConverter<?,TARGET> converter)
This method registers the given
converter to this composed converter. |
private ValueConverter<?,?> |
ComposedValueConverterImpl.addConverterInternal(ValueConverter<?,?> converter)
This method registers the given
converter to this composed converter. |
| Modifier and Type | Method and Description |
|---|---|
(package private) List<ValueConverter<?,?>> |
ComposedValueConverterImpl.getConverters() |
| Modifier and Type | Method and Description |
|---|---|
void |
ComposedValueConverterImpl.addConverter(ValueConverter<?,?> converter)
This method registers the given
converter to this composed converter. |
ValueConverter<?,TARGET> |
ComposedValueConverterImpl.ComposedTargetTypeConverter.addConverter(ValueConverter<?,TARGET> converter)
This method registers the given
converter to this composed converter. |
void |
DefaultComposedValueConverter.addConverterComponent(ValueConverter<?,?> converter) |
private ValueConverter<?,?> |
ComposedValueConverterImpl.addConverterInternal(ValueConverter<?,?> converter)
This method registers the given
converter to this composed converter. |
protected Object |
ComposedValueConverterImpl.convertRecursive(Object value,
Object valueSource,
GenericType<?> targetType,
Class<?> currentTargetClass,
ValueConverter previousConverter,
ComposedValueConverterImpl.TargetClass2ConverterMap converterMap)
This method performs the
conversion recursive. |
protected boolean |
ComposedValueConverterImpl.isApplicable(ValueConverter<?,?> converter,
GenericType<?> targetType)
This method determines if the given
converter is applicable for the given targetType. |
| Modifier and Type | Method and Description |
|---|---|
ComposedValueConverter |
ComposedValueConverterFactoryImpl.createConverter(boolean addDefaultConverters,
List<ValueConverter<?,?>> converterList)
Creates a new custom instance of
ComposedValueConverter with the given configuration. |
void |
ComposedValueConverterImpl.setConverters(List<ValueConverter<?,?>> converterList)
|
void |
ComposedValueConverterFactoryImpl.setConverters(List<ValueConverter<?,?>> converterList)
This method injects a
List of ValueConverters to use as default. |
Copyright © 2001–2015 mmm-Team. All rights reserved.