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) |
<E> void |
StringUtilImpl.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax,
Collection<E> collection,
ValueConverter<String,E> converter) |
Modifier and Type | Interface and Description |
---|---|
interface |
ComposedValueConverter
This is the interface for a
ValueConverter that is composed out of individual
ValueConverter s. |
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 | Class and Description |
---|---|
class |
AbstractConverterToArray<ARRAY>
This is an implementation of the
ValueConverter interface that converts an
Object to an array. |
class |
AbstractValueConverterToCompatiblePojo<SOURCE,TARGET>
This is an abstract base implementation of the
ValueConverter interface
that converts an POJO to a POJO with the same properties. |
class |
AbstractValueConverterToContainer<CONTAINER>
This is the abstract base-implementation of a
ValueConverter that converts an
Object to a container type. |
class |
AbstractValueConverterToSimilarPojo<SOURCE,TARGET>
This is an abstract base implementation of
ValueConverter that extends
AbstractValueConverterToCompatiblePojo and adds tolerance for unmatched properties. |
class |
ComposedValueConverterImpl
This is the implementation of the
ComposedValueConverter interface. |
protected class |
ComposedValueConverterImpl.ComposedTargetTypeConverter<TARGET>
This inner class is a composed converter for all
ValueConverter s with the same
target-type . |
class |
DefaultComposedValueConverter
This is a default
ComposedValueConverter to be used without IoC-Container. |
class |
ValueConverterEntityToEto
This class extends
AbstractValueConverterToCompatiblePojo for conversion from PersistenceEntity to
ETO . |
class |
ValueConverterEtoToEntity
This class extends
AbstractValueConverterToCompatiblePojo for conversion from ETO to
PersistenceEntity . |
class |
ValueConverterToArrayOfBoolean
|
class |
ValueConverterToArrayOfByte
|
class |
ValueConverterToArrayOfDouble
|
class |
ValueConverterToArrayOfFloat
|
class |
ValueConverterToArrayOfInt
|
class |
ValueConverterToArrayOfLong
|
class |
ValueConverterToArrayOfObject
This is an implementation of the
ValueConverter interface that converts an
Object to an array. |
class |
ValueConverterToArrayOfShort
|
class |
ValueConverterToBoolean
|
class |
ValueConverterToCalendar
|
class |
ValueConverterToClass
|
class |
ValueConverterToCollection
|
class |
ValueConverterToCompatiblePojo
This class extends
AbstractValueConverterToCompatiblePojo so it is used as fallback converter for any
Object if no more specific converter is matching. |
class |
ValueConverterToDate
|
class |
ValueConverterToEnum
|
class |
ValueConverterToFile
|
class |
ValueConverterToMap
|
class |
ValueConverterToNumber
|
class |
ValueConverterToPattern
This is an implementation of the
ValueConverter interface that converts a
CharSequence to a Pattern . |
class |
ValueConverterToString
|
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) |
void |
ComposedValueConverterImpl.setConverters(List<ValueConverter<?,?>> converterList)
|
void |
ComposedValueConverterFactoryImpl.setConverters(List<ValueConverter<?,?>> converterList)
This method injects a
List of ValueConverter s to use as default. |
Copyright © 2001–2016 mmm-Team. All rights reserved.