Skip to content

@BindXml

xcesco edited this page May 8, 2018 · 2 revisions

This annotation allows specifying behaviour for a specific field when it is persisted to XML format with @BindType annotation.

Attributes

  • elementTag: used with collections and maps. It's the name of elements contained in the collection or array, except byte array. Thus, name specified in attribute value will be used for container.
  • mapEntryType: type of mapping of the element of a map. Valid only field of type Map. If used with a field who does not implement map interface, a runtime exception will be thrown. See [MapEntryType] (https://github.com/xcesco/kripton/blob/master/KriptonCore/src/main/java/com/abubusoft/kripton/xml/MapEntryType.java). The default value is TAG.
  • namespace: namespace of tag or attribute used to represent the element.
  • xmlType: type of binding. The default value is TAG. See XmlType.

Table of Contents

Query definition

Features

Relations

Multithread supports

Modularization

Annotations for data convertion

Annotations for SQLite ORM

Annotations for shared preferences

Clone this wiki locally