| org.x2jb.bind.Binding
Binding | public @interface Binding(Code) | | Defines mapping of methods to XML elements and attributes.
Users using Java 5 or higher can use this annotation for binding definitions.
Remember this annotation is not part of XML 2 Java Binding core jar.
The annotation is located in XML 2 Java Binding annotation provider jar archive.
author: Richard Opalka version: 1.0 |
isElementNode | boolean isElementNode(Code) | | Node type to which mapping applies, if true the mapping applies to XML element,
if false it applies to XML attribute
|
isNodeMandatory | boolean isNodeMandatory(Code) | | Indicates whether current node must be present in XML document
|
isNodeUnique | boolean isNodeUnique(Code) | | Returns true if current node (with specified optional namespace and local name)
have to be the only one in the context node, false otherwise
|
nodeName | String nodeName(Code) | | Local name of the node to which mapping applies
|
nodeNamespace | String nodeNamespace(Code) | | Namespace of the node to which mapping applies
|
typeHandler | Class typeHandler(Code) | | Handler class to be used to handle XML 2 Java Binding process.
Default value Void.class is replaced with null
value in annotation provider and this value indicates there is no user defined
binding handler associated with the method.
|
|
|