public class TypePartsConverter extends Object implements IComponentValueConverter<Object,Object>
IComponentValueConverter
that provides only a single value, but offers additional methods
to convert this value to different types, see TypePartsConverter.TypeConvertibleMap
.Modifier and Type | Class and Description |
---|---|
static class |
TypePartsConverter.TypeConvertibleMap
Implementation of
IConvertibleMap for the TypePartsConverter . |
Modifier and Type | Field and Description |
---|---|
static IComponentValueConverter<?,?> |
INSTANCE
The immutable instance of this converter.
|
Constructor and Description |
---|
TypePartsConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
componentToExternalValue(IConvertibleMap<Object> componentValues) |
IConvertibleMap<Object> |
externalToComponentValue(Object value) |
IConvertibleMap<Object> |
newConvertibleMap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createOptions
public static final IComponentValueConverter<?,?> INSTANCE
<p:importConstants/>
.public Object componentToExternalValue(IConvertibleMap<Object> componentValues)
componentToExternalValue
in interface IComponentValueConverter<Object,Object>
componentValues
- The value on the component.public IConvertibleMap<Object> externalToComponentValue(Object value)
externalToComponentValue
in interface IComponentValueConverter<Object,Object>
value
- The value on the backing bean or the model.public IConvertibleMap<Object> newConvertibleMap()
newConvertibleMap
in interface IComponentValueConverter<Object,Object>
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.