IArgs.IBinding| Constructor and Description |
|---|
ElementChildrenArgsAdapter(IElement element,
String name) |
| Modifier and Type | Method and Description |
|---|---|
IArgs.IBinding |
add(Object object)
Add an indexed value.
|
Iterator<IArgs.IBinding> |
bindings()
An
Iterator over all available bindings. |
void |
clear()
Clear all bindings.
|
IArgs |
copy()
Create a copy.
|
IArgs.IBinding |
declare(String name)
Declare a name for a binding.
|
Object |
get(int index)
The argument at position
index. |
Object |
get(int index,
Object defaultValue)
The argument at position
index |
Object |
get(String childName)
The argument named
name or null if not available. |
Object |
get(String childName,
Object defaultValue)
The argument named
name or the defaultValue if not
available. |
boolean |
isDefined(int index)
true if an argument at index is defined. |
boolean |
isDefined(String name)
true if an argument named name is defined. |
Set |
names()
The set of all argument names in the argument list if this argument list
is not indexed or null.
|
IArgs.IBinding |
put(int index,
Object value)
Define an indexed binding for value.
|
IArgs.IBinding |
put(String name,
Object value)
Define a named binding for value.
|
int |
size()
The total number of arguments.
|
String |
toString() |
void |
undefine(int index)
Undefine the binding at index.
|
void |
undefine(String name)
Undefine the binding for name.
|
public IArgs.IBinding add(Object object)
IArgspublic Iterator<IArgs.IBinding> bindings()
IArgsIterator over all available bindings.public void clear()
IArgspublic IArgs.IBinding declare(String name)
IArgspublic Object get(int index)
IArgsindex.public Object get(int index, Object defaultValue)
IArgsindexpublic Object get(String childName)
IArgsname or null if not available.public Object get(String childName, Object defaultValue)
IArgsname or the defaultValue if not
available.public boolean isDefined(int index)
IArgstrue if an argument at index is defined.public boolean isDefined(String name)
IArgstrue if an argument named name is defined.public Set names()
IArgspublic IArgs.IBinding put(int index, Object value)
IArgspublic IArgs.IBinding put(String name, Object value)
IArgspublic int size()
IArgspublic void undefine(int index)
IArgsCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.