java.lang.Object
com.aoapps.html.any.Attributes.Event
- Enclosing class:
Attributes
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionattribute(E element, String name, Object script, FunctionE<? super Object, ? extends Object, Ex> normalizer) attribute(E element, String name, Object script, FunctionE<? super Object, ? extends Object, Ex1> normalizer, FunctionE<? super Object, ValidationResult, Ex2> validator)
-
Method Details
-
attribute
public static <E extends Element<?,?, E attributeE>, Ex1 extends Throwable, Ex2 extends Throwable> (E element, String name, Object script, FunctionE<? super Object, ? extends Object, throws IOException, Ex1, Ex2Ex1> normalizer, FunctionE<? super Object, ValidationResult, Ex2> validator) - Type Parameters:
E- This element type- Parameters:
validator- Optional validator, which gets the attribute value only when attribute will be actually written. Will not be called when the attribute will be skipped.- Throws:
IOExceptionEx1Ex2
-
attribute
public static <E extends Element<?,?, E attributeE>, Ex extends Throwable> (E element, String name, Object script, FunctionE<? super Object, ? extends Object, throws IOException, ExEx> normalizer) - Type Parameters:
E- This element type- Throws:
IOExceptionEx
-
