Whenever a method parameter is encountered, a binding must be found for it so that it can be called later to consume the stack of arguments provided by the user and return an object that is later passed to {@link Method#invoke(Object,Object)}.
Normally, a {@link Type} is used to discern between different bindings, butif this is not specific enough, an annotation can be defined and used. This makes it a "classifier" and it will take precedence over the base type. For example, even if there is a binding that handles {@link String} parameters,a special {@code @MyArg} annotation can be assigned to a {@link String}parameter, which will cause the {@link Builder} to consult the {@link Binding}associated with {@code @MyArg} rather than with the binding forthe {@link String} type.
@param binding the binding @param type a list of types (if specified) to override the binding's typesWSDLBinding
Object
Adds a single new binding to the existing array of bindings. If the array is currently null
, then a new array is created and this binding is added to it. This method does not detect duplicates.
This method completes in amortized O(1)
.
null
.
This method is used to associate an attribute type with a java class. The class is retreived from type.getBinding()
. When the {@link #add(String,Class)} method is used to add an attribute to the type being built, this binding is used to locate the attribute type.
KeyStroke
to bind to the action. If this argument is null
the action's {@link Action#ACCELERATOR_KEY accelerator key} willbe used as keystroke
@param actionMapKey the action map key
@param action the Action
@see #install()
@see #install(JComponent)
public {type} {modelVar}();
public void set{modelVar}({type} value);
Examples: public String City();
public void setCity(String value);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|