|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.velocity.app.tools.VelocityFormatter.VelocityAlternator
org.apache.velocity.app.tools.VelocityFormatter.VelocityAutoAlternator
As VelocityAlternator, but calls alternate()
automatically on rendering in a template.
Field Summary |
Fields inherited from class org.apache.velocity.app.tools.VelocityFormatter.VelocityAlternator |
alternates, current |
Constructor Summary | |
VelocityFormatter.VelocityAutoAlternator(java.lang.String[] alternates)
Constructor takes an array of Strings. |
Method Summary | |
java.lang.String |
toString()
Returns the current alternate, and automatically alternates to the next alternate in its sequence (trigged upon rendering). |
Methods inherited from class org.apache.velocity.app.tools.VelocityFormatter.VelocityAlternator |
alternate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public VelocityFormatter.VelocityAutoAlternator(java.lang.String[] alternates)
alternates
- A String[].Method Detail |
public final java.lang.String toString()
toString
in class VelocityFormatter.VelocityAlternator
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |