Uses of Class
io.kojan.xml.Entity
-
Uses of Entity in io.kojan.xml
Fields in io.kojan.xml declared as EntityModifier and TypeFieldDescriptionprivate final Entity
<RelatedType, RelatedBean> Relationship.relatedEntity
Methods in io.kojan.xml that return EntityModifier and TypeMethodDescriptionstatic <Type,
Bean>
Entity<Type, Bean> Entity.of
(String tag, Factory<Bean> beanFactory, Converter<Bean, Type> converter, Property<Type, Bean, ?>... properties) Creates an entity using a converter method for converting entity beans to entity objects.Creates an entity using a bean class implementing theBuilder
interface.static <Type> Entity
<Type, Type> Creates an entity over a mutable data type that does not need conversion from bean type.Methods in io.kojan.xml with parameters of type EntityModifier and TypeMethodDescription(package private) <Type,
Bean>
voidXMLDumperImpl.dumpDocument
(Entity<Type, Bean> rootEntity, Type value) <Type,
Bean>
voidXMLDumper.dumpEntity
(Entity<Type, Bean> entity, Type value) Serializes givenEntity
into XML form.<Type,
Bean>
voidXMLDumperImpl.dumpEntity
(Entity<Type, Bean> entity, Type value) static <Type,
Bean, RelatedType, RelatedBean>
Relationship<Type, Bean, RelatedType, RelatedBean> Relationship.of
(Entity<RelatedType, RelatedBean> relatedEntity, Getter<Type, Iterable<RelatedType>> getter, Setter<Bean, RelatedType> setter) Creates a non-unique, optional relationship with another entity.static <Type,
Bean, RelatedType, RelatedBean>
Relationship<Type, Bean, RelatedType, RelatedBean> Relationship.ofSingular
(Entity<RelatedType, RelatedBean> relatedEntity, Getter<Type, RelatedType> getter, Setter<Bean, RelatedType> setter) Creates a unique, optional relationship with another entity.(package private) <Type,
Bean>
TypeXMLParserImpl.parseDocument
(Entity<Type, Bean> rootEntity) <Type,
Bean>
voidXMLParser.parseEntity
(Entity<Type, Bean> entity, Bean bean) Deserializes givenEntity
from XML form.<Type,
Bean>
voidXMLParserImpl.parseEntity
(Entity<Type, Bean> entity, Bean bean) Constructors in io.kojan.xml with parameters of type EntityModifierConstructorDescriptionRelationship
(Entity<RelatedType, RelatedBean> relatedEntity, Getter<EnclosingType, Iterable<RelatedType>> getter, Setter<EnclosingBean, RelatedType> setter, boolean optional, boolean unique) Creates a relationship between two entities.