Package org.nuiton.jaxx.runtime.i18n
Class DefaultI18nDecoratorDefinition
- java.lang.Object
-
- org.nuiton.jaxx.runtime.i18n.DefaultI18nDecoratorDefinition
-
- All Implemented Interfaces:
I18nDecoratorDefinition
public class DefaultI18nDecoratorDefinition extends Object implements I18nDecoratorDefinition
Created on 27/07/2021.- Since:
- 3.0.0
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Constructor Summary
Constructors Constructor Description DefaultI18nDecoratorDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(io.ultreia.java4all.decoration.Decorator decorator)Class<?>getDecoratorType(io.ultreia.java4all.decoration.Decorator decorator)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuiton.jaxx.runtime.i18n.I18nDecoratorDefinition
computeLabels
-
-
-
-
Method Detail
-
accept
public boolean accept(io.ultreia.java4all.decoration.Decorator decorator)
- Specified by:
acceptin interfaceI18nDecoratorDefinition- Parameters:
decorator- decorator to inspect- Returns:
trueif it accept to deal with with decorator.
-
getDecoratorType
public Class<?> getDecoratorType(io.ultreia.java4all.decoration.Decorator decorator)
- Specified by:
getDecoratorTypein interfaceI18nDecoratorDefinition- Parameters:
decorator- decorator to inspect- Returns:
- the type used by I18n to decorate properties, might be different of the
DecoratorDefinition.type()...
-
-