|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuic.output.builder.Representer
uic.output.builder.ValueRepresenter
uic.output.builder.ArrayRepresenter
public class ArrayRepresenter
A Representer for an Array. String[] {"bla", "bla"} for example.
| Field Summary |
|---|
| Fields inherited from class uic.output.builder.ValueRepresenter |
|---|
type |
| Fields inherited from class uic.output.builder.Representer |
|---|
name, parent, staticParent |
| Constructor Summary | |
|---|---|
ArrayRepresenter(Class type)
|
|
ArrayRepresenter(String type)
|
|
| Method Summary | |
|---|---|
void |
add(boolean value)
Add a new member to the array. |
void |
add(byte value)
Add a new member to the array. |
void |
add(char value)
Add a new member to the array. |
void |
add(double value)
Add a new member to the array. |
void |
add(float value)
Add a new member to the array. |
void |
add(int value)
Add a new member to the array. |
void |
add(long value)
Add a new member to the array. |
void |
add(Object object)
Add a new member to the array. |
Object |
getValue()
|
Vector |
getValues()
|
| Methods inherited from class uic.output.builder.ValueRepresenter |
|---|
getType, toString |
| Methods inherited from class uic.output.builder.Representer |
|---|
getName, getParent, getStaticParent, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayRepresenter(Class type)
type - the class type the target array has members of.public ArrayRepresenter(String type)
type - the fully specified class name the target array has members of.| Method Detail |
|---|
public void add(Object object)
public void add(int value)
IllegalArgumentException - when the class was contructed with a different type of object.public void add(boolean value)
IllegalArgumentException - when the class was contructed with a different type of object.public void add(char value)
IllegalArgumentException - when the class was contructed with a different type of object.public void add(double value)
IllegalArgumentException - when the class was contructed with a different type of object.public void add(long value)
IllegalArgumentException - when the class was contructed with a different type of object.public void add(float value)
IllegalArgumentException - when the class was contructed with a different type of object.public void add(byte value)
IllegalArgumentException - when the class was contructed with a different type of object.public Object getValue()
getValue in class ValueRepresenterpublic Vector getValues()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||