The Bind annotation reference has the fo
import net.vionta.xml.xesta.bind.annotation.Bind;
-
expression The XPath mapping expression that points to the selected document nodes.
-
key Indicates if the attribute identifies the node element. It is only considered when the collection strategy is equal to SerializingMode. BIND_COLLECTION_BY_KEY.
-
classNames [String | Default : null | Mandatory : false] The class names of a multiple collection. An element list can containt more than one single element type. Xesta looks for the mappings in all of the classes to determine the collection elements. This feature is under developmnet
-
serializingMode
-
deserializingMode
-
collectionBindStrategy
-
collectionDeleteUnmatched
-
namespaceAlias [String | Default : null | Mandatory : false] A list of the name space alias.
-
namespaceUris [String | Default : null | Mandatory : false] A list of the name space uris.
-
auto If true the element name or expression is calculated from the java property name.
-
DeserializingMode
-
FAIL_ON_NOT_EXISTING : 1
-
WARN_ON_NOT_EXISTING : 2
-
AVOID_ON_NOT_EXISTING : 3
-
-
SerializingMode
-
FAIL_ON_NOT_EXISTING : 1
-
CREATE_ON_NOT_EXISTING : 2
-
SKIP_ON_NOT_EXISTING : 3
-
BIND_COLLECTION_BY_KEY : 1
-
BIND_COLLECTION_BY_POSITION : 2
-
BIND_COLLECTION_APPEND_LAST : 3
-
BIND_COLLECTION_APPEND_FIRST : 4
-
BIND_COLLECTION_FULL_RESET : 5
-
COLLECTION_DONT_DELETE_UNMATCHED : 1
-
COLLECTION_DELETE_UNMATCHED : 2
-
Jump to content