@Target(value={}) @Retention(value=RUNTIME) public static @interface XTemplates.FormatterFactoryMethod
XTemplates.FormatterFactory
annotation to register multiple method within the same factory.Modifier and Type | Required Element and Description |
---|---|
String |
name
The name of the formatter being registered.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
defaultArgs
Default arguments to pass into the format method if none are specified in the XTemplate
source.
|
String |
method
The name of the method to invoke to produce a formatter.
|
public abstract String name
public abstract String method
getFormat
public abstract String defaultArgs
Copyright © 2018. All rights reserved.