@Target(value={}) @Retention(value=RUNTIME) public static @interface XTemplates.FormatterFactory
Modifier and Type | Required Element and Description |
---|---|
Class<?> |
factory |
Modifier and Type | Optional Element and Description |
---|---|
boolean |
acceptsNull
True if the formatter can handle null values.
|
XTemplates.FormatterFactoryMethod[] |
methods
Allows methods to be defined on a formatter factory with a name other that
getFormat ,
and allowed more than one factory method to be defined. |
String |
name
The name of the formatter being registered.
|
public abstract Class<?> factory
public abstract XTemplates.FormatterFactoryMethod[] methods
getFormat
,
and allowed more than one factory method to be defined.Copyright © 2018. All rights reserved.