Uses of Class
io.kojan.xml.Attribute
-
Uses of Attribute in io.kojan.xml
Methods in io.kojan.xml that return AttributeModifier and TypeMethodDescriptionstatic <Type, Bean, AttributeType>
Attribute<Type, Bean, AttributeType> Attribute.of(String tag, Getter<Type, AttributeType> getter, Setter<Bean, AttributeType> setter, Converter<AttributeType, String> toStringConverter, Converter<String, AttributeType> fromStringConverter) Creates a unique, non-optional attribute.Creates a unique, non-optional String attribute.static <Type, Bean, AttributeType>
Attribute<Type, Bean, AttributeType> Attribute.ofMulti(String tag, Getter<Type, Iterable<AttributeType>> getter, Setter<Bean, AttributeType> setter, Converter<AttributeType, String> toStringConverter, Converter<String, AttributeType> fromStringConverter) Creates a non-unique, optional attribute.Creates a non-unique, optional String attribute.static <Type, Bean, AttributeType>
Attribute<Type, Bean, AttributeType> Attribute.ofOptional(String tag, Getter<Type, AttributeType> getter, Setter<Bean, AttributeType> setter, Converter<AttributeType, String> toStringConverter, Converter<String, AttributeType> fromStringConverter) Creates a unique, optional attribute.Creates a unique, optional String attribute.