T
- type of the element handled.public interface Transformer<T> extends I18NAwareHandler
Property
handler.Modifier and Type | Method and Description |
---|---|
Class<T> |
getType() |
boolean |
hasI18NSupport()
Return true if this Property has to support i18n.
|
boolean |
isReadOnly() |
T |
readFromItem()
Transform a specific Item values to a specified type T.
|
void |
setReadOnly(boolean isReadOnly) |
void |
writeToItem(T newValue)
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()
void setReadOnly(boolean isReadOnly)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.