Modifier and Type | Class and Description |
---|---|
class |
JXPathDecorator<O>
JXPath decorator based on
String.format(String, Object...) method. |
class |
MultiJXPathDecorator<O>
JXPathDecorator implementation with multiple contexts. |
class |
PropertyDecorator<O>
Simple property decorator based on
String.format(String, Object...)
method. |
Modifier and Type | Method and Description |
---|---|
Decorator<T> |
DecoratorMulti18nProvider.DecoratorContext.getDecorator() |
Decorator<T> |
DecoratorProvider.DecoratorContext.getDecorator() |
<O> Decorator<O> |
DecoratorMulti18nProvider.getDecorator(Locale locale,
O object)
Obtain a decorator for the given object using the given
locale . |
<O> Decorator<O> |
DecoratorMulti18nProvider.getDecorator(Locale locale,
O object,
String name)
Obtain a decorator given a object and an extra name to qualify the
context using the given
locale . |
<O> Decorator<O> |
DecoratorProvider.getDecorator(O object)
Obtain a decorator for the given object.
|
<O> Decorator<O> |
DecoratorProvider.getDecorator(O object,
String name)
Obtain a decorator given a object and an extra name to qualify the
context.
|
<O> Decorator<O> |
DecoratorProvider.getDecoratorByType(Class<O> type)
Obtain a decorator given a type.
|
<O> Decorator<O> |
DecoratorProvider.getDecoratorByType(Class<O> type,
String name)
Obtain a decorator given a type and a extra name.
|
<O> Decorator<O> |
DecoratorMulti18nProvider.getDecoratorByType(Locale locale,
Class<O> type)
Obtain a decorator given a type on the given
locale . |
<O> Decorator<O> |
DecoratorMulti18nProvider.getDecoratorByType(Locale locale,
Class<O> type,
String name)
Obtain a decorator given a type and a extra context name on the given
locale . |
Modifier and Type | Method and Description |
---|---|
void |
DecoratorProvider.registerDecorator(Decorator<?> decorator) |
void |
DecoratorMulti18nProvider.registerDecorator(Locale locale,
Decorator<?> decorator) |
<T> void |
DecoratorMulti18nProvider.registerDecorator(Locale locale,
String context,
Decorator<T> decorator)
Register a new decorator in the cache of the provider.
|
<T> void |
DecoratorProvider.registerDecorator(String context,
Decorator<T> decorator)
Register a new decorator in the cache of the provider.
|
Constructor and Description |
---|
DecoratorMulti18nProvider.DecoratorContext(String context,
Decorator<T> decorator) |
DecoratorProvider.DecoratorContext(String context,
Decorator<T> decorator) |
Copyright © 2013–2015 CodeLutin. All rights reserved.