|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Formatter<T>
usually a formatter is responsible for one type and allows to format this type as string
Method Summary | |
---|---|
String |
format(MessageContext messageContext,
T valueToFormat)
formats the given instance as string |
boolean |
isResponsibleFor(Class<?> type)
answers the question if the instance is able to format an object of the given type |
boolean |
isStateless()
|
Method Detail |
---|
boolean isResponsibleFor(Class<?> type)
type
- the type of the instance which has to be formatted
boolean isStateless()
String format(MessageContext messageContext, T valueToFormat)
messageContext
- current message contextvalueToFormat
- an instance which should be formatted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |