![JAR search and dependency download from the Maven repository](/logo.png)
js.template.xhtml.LowerCaseStringNumbering Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of js-xhtml-template Show documentation
Show all versions of js-xhtml-template Show documentation
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