This page was generated using Webiyo. See its source code and unit tests.
|
org/webiyo/web/Att.javapackage org.webiyo.web; import org.webiyo.xml.AttributeSource; import org.webiyo.xml.AttributeType; import org.webiyo.xml.Xml; import org.webiyo.xml.dtds.Html; public class Att { public static AttributeSource att(final AttributeType attType, final String value) { return Xml.att(attType, value); } public static AttributeSource att(AttributeType type, int value) { return att(type, String.valueOf(value)); } public static AttributeSource cssClass(String className) { return Att.att(Html.CLASS, className); } } |