java.lang.Object
com.aoapps.html.any.Attributes.Url
- Enclosing class:
Attributes
URL attributes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionattribute
(E element, String name, String url, FunctionE<? super String, ? extends String, Ex> normalizer) attribute
(E element, String name, String url, FunctionE<? super String, ? extends String, Ex1> normalizer, FunctionE<? super String, ValidationResult, Ex2> validator)
-
Method Details
-
attribute
public static <E extends Element<?,?, E attributeE>, Ex1 extends Throwable, Ex2 extends Throwable> (E element, String name, String url, FunctionE<? super String, ? extends String, throws IOException, Ex1, Ex2Ex1> normalizer, FunctionE<? super String, 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:
IOException
Ex1
Ex2
-
attribute
public static <E extends Element<?,?, E attributeE>, Ex extends Throwable> (E element, String name, String url, FunctionE<? super String, ? extends String, throws IOException, ExEx> normalizer) - Type Parameters:
E
- This element type- Throws:
IOException
Ex
-