Skip to content

@BindXmlType

xcesco edited this page May 8, 2018 · 1 revision

This annotation allows customizing XML persistence of java beans.

Attributes Defined attributes are:

  • namespaces: set of namespace defined and used for the element. Note that it is used only if annotated bean is used as root of persistence.

How it is used

An example:

@BindTypeXml(namespaces={@BindXmlNamespace(name="tool", value="http://www.android.com")}
public class Image {
  public String id;
  public String format;
 
  @BindXml(namespace="tool")
  public String url;
  public String description;
 }

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