public class VelocityFormatter.VelocityAutoAlternator extends VelocityFormatter.VelocityAlternator
alternate()
automatically on rendering in a template.alternates, current| 构造器和说明 |
|---|
VelocityAutoAlternator(java.lang.String[] alternates)
Constructor takes an array of Strings.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
toString()
Returns the current alternate, and automatically alternates
to the next alternate in its sequence (trigged upon
rendering).
|
alternatepublic VelocityAutoAlternator(java.lang.String[] alternates)
alternates - A String[].public final java.lang.String toString()
toString 在类中 VelocityFormatter.VelocityAlternator