Package com.aoapps.html.any.attributes.enumeration
Per-attribute interfaces with default implementations.
Attributes are attached to elements by simply implementing the interface. Thanks to the default methods on the interfaces, the element has a fully functional attribute with just the one-liner. However, the elements still have the option to override the attribute.
Values may be provided either as a String
or an Enum
,
with the Enum
representation preferred. The String
value is allowed for values that are not part of the enumeration.
When converting from Enum
, uses Function
. giving the
AnyDocument
. This allows the enum to select values by
Serialization
and/or Doctype
, as-needed.
- See Also:
-
ClassDescriptionAlign<E extends Element<?,
?, E> & Align<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Deprecated.The align attribute is not supported in HTML5.Deprecated.The align attribute is not supported in HTML5.Utility class for working withAutocapitalize
.Deprecated.Although the autocapitalize attribute is global, it is only expected on <button>, <fieldset>, <input>, <output>, <select>, and <textarea>.Autocomplete<E extends Element<?,?, E> & Autocomplete<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Utility class for working withAutocomplete
.Capture<E extends Element<?,?, E> & Capture<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Utility class for working withCapture
.Charset<E extends Element<?,?, E> & Charset<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Utility class for working withCharset
.See HTML Character Sets. See Character Sets.CharsetHtml4Only<E extends Element<?,?, E> & CharsetHtml4Only<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Deprecated.Not supported in HTML5.Utility class for working withCrossorigin
.See 3.2.6.4 The dir attribute. See Global attributes / dir. See HTMLElement.dir. See HTML dir Attribute.Utility class for working withDir
.See 3.2.6.4 The dir attribute. See Global attributes / dir. See HTMLElement.dir. See HTML dir Attribute.Deprecated.Enctype<E extends Element<?,?, E> & Enctype<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Utility class for working withEnctype
.Formenctype<E extends Element<?,?, E> & Formenctype<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Utility class for working withFormenctype
.Formmethod<E extends Element<?,?, E> & Formmethod<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Utility class for working withFormmethod
.Formtarget<E extends Element<?,?, E> & Formtarget<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Utility class for working withFormtarget
.HttpEquiv<E extends Element<?,?, E> & HttpEquiv<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Utility class for working withHttpEquiv
.Method<E extends Element<?,?, E> & Method<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Utility class for working withMethod
.Name<E extends Element<?,?, E> & Name<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> See HTML name Attribute.Utility class for working withName
.Rel<E extends Element<?,?, E> & Rel<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> See HTML rel Attribute.Utility class for working withRel
.Shape<E extends Element<?,?, E> & Shape<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> See HTML shape Attribute.Utility class for working withShape
.Target<E extends Element<?,?, E> & Target<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Utility class for working withTarget
.Type<E extends Element<?,?, E> & Type<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> See HTML type Attribute.Utility class for working withType
.Valign<E extends Element<?,?, E> & Valign<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Deprecated.The valign attribute is not supported in HTML5.Deprecated.The valign attribute is not supported in HTML5.Wrap<E extends Element<?,?, E> & Wrap<E, V>, V extends Enum<V> & Function<? super AnyDocument<?>, String>> Utility class for working withWrap
.