T
- type of the element handled.ItemProviderStrategy
instead.@Deprecated @MgnlDeprecated(since="6.2.3.", description="Use new framework and ItemProviderStrategy instead.") public interface Transformer<T> extends I18NAwareHandler
Property
handler.Modifier and Type | Method and Description |
---|---|
Class<T> |
getType()
Deprecated.
|
boolean |
hasI18NSupport()
Deprecated.
Return true if this Property has to support i18n.
|
boolean |
isReadOnly()
Deprecated.
Mirror the read-only state of the underlying Property / data-source.
|
T |
readFromItem()
Deprecated.
Transform a specific Item values to a specified type T.
|
void |
setReadOnly(boolean isReadOnly)
Deprecated.
since 5.4.12. Transformer just mirrors read-only state of the underlying Property,
invoke
#setReadOnly on the TransformedProperty instead |
void |
writeToItem(T newValue)
Deprecated.
Convert the T newValue to a specific Item format.
|
getBasePropertyName, getLocale, setI18NPropertyName, setLocale
void writeToItem(T newValue)
T readFromItem()
boolean hasI18NSupport()
Class<T> getType()
value
must be assignable
to this type.boolean isReadOnly()
@Deprecated void setReadOnly(boolean isReadOnly)
#setReadOnly
on the TransformedProperty
insteadCopyright © 2021 Magnolia International Ltd.. All rights reserved.