java.lang.Object
com.aoapps.html.any.Attributes.String
- Enclosing class:
Attributes
Non-streamable text attributes (expected to be short, relatively fixed values).
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Element<?,
?, E>>
Eattribute
(E element, String name, MarkupType markupType, String value, boolean trim, boolean nullIfEmpty)
-
Method Details
-
attribute
public static <E extends Element<?,?, E attributeE>> (E element, String name, MarkupType markupType, String value, boolean trim, boolean nullIfEmpty) throws IOException - Type Parameters:
E
- This element type- Parameters:
value
- If isAttributes.NO_VALUE
(by identity), will write empty attribute.- Throws:
IOException
-