Class DefaultI18nDecoratorDefinition

    • Constructor Detail

      • DefaultI18nDecoratorDefinition

        public DefaultI18nDecoratorDefinition()
    • Method Detail

      • accept

        public boolean accept​(io.ultreia.java4all.decoration.Decorator decorator)
        Specified by:
        accept in interface I18nDecoratorDefinition
        Parameters:
        decorator - decorator to inspect
        Returns:
        true if it accept to deal with with decorator.
      • getDecoratorType

        public Class<?> getDecoratorType​(io.ultreia.java4all.decoration.Decorator decorator)
        Specified by:
        getDecoratorType in interface I18nDecoratorDefinition
        Parameters:
        decorator - decorator to inspect
        Returns:
        the type used by I18n to decorate properties, might be different of the DecoratorDefinition.type()...