|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.xml.parsing.primitive.objects.PrimitiveObject
class PrimitiveObject
This class uses the command pattern. It implements the abstract Command and is used as Command Invoker
| Field Summary | |
|---|---|
(package private) java.lang.Object |
object
|
(package private) java.lang.Class<?> |
type
|
(package private) java.lang.String |
value
|
| Constructor Summary | |
|---|---|
PrimitiveObject()
|
|
| Method Summary | |
|---|---|
(package private) java.lang.Object |
getObject()
Object that matches given Class and Value |
(package private) void |
setType(java.lang.Class<?> type)
Sets the type and value for the class which should be instantiated |
(package private) void |
setValue(java.lang.String value)
Sets the value for the class which should be instantiated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.lang.Class<?> type
java.lang.String value
java.lang.Object object
| Constructor Detail |
|---|
PrimitiveObject()
| Method Detail |
|---|
void setType(java.lang.Class<?> type)
type - Classvoid setValue(java.lang.String value)
value - Stringjava.lang.Object getObject()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||