All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.template.xhtml.LowerCaseStringNumbering Maven / Gradle / Ivy

Go to download

Reference implementation for j(s)-lib template API, declarative, natural and based on X(HT)ML language.

The newest version!
package js.template.xhtml;

/**
 * Lower case string list index. Lower case variant of {@link UpperCaseStringNumbering}. Its format code is s.
 * 
 * 
 *  <ul data-olist=".">
 *      <li data-numbering="%s)"></li>
 *  </ul>
 * 
* * After templates rendering li elements text content will be a), b) ... . See {@link NumberingOperator} for details * about numbering format syntax. * * @author Iulian Rotaru */ final class LowerCaseStringNumbering extends UpperCaseStringNumbering { /** * Format index as lower case string. * * @param index index value. * @return formatted index. */ @Override public String format(int index) { return super.format(index).toLowerCase(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy