|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jicengine.operation.EmptyContext
Nested Class Summary |
Nested classes inherited from class org.jicengine.operation.Context |
Context.DuplicateNameException, Context.ObjectNotFoundException |
Field Summary | |
static EmptyContext |
INSTANCE
|
Constructor Summary | |
EmptyContext()
|
Method Summary | |
void |
addObject(java.lang.String name,
java.lang.Object object)
If addObject success, the object stored will be returned by getObject with the same name. |
java.lang.Object |
getObject(java.lang.String name)
finds an object from the context. |
boolean |
hasObject(java.lang.String name)
|
boolean |
removeObject(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static EmptyContext INSTANCE
Constructor Detail |
public EmptyContext()
Method Detail |
public java.lang.Object getObject(java.lang.String name)
Context
getObject
in interface Context
public boolean hasObject(java.lang.String name)
hasObject
in interface Context
public boolean removeObject(java.lang.String name)
public void addObject(java.lang.String name, java.lang.Object object)
Context
addObject
in interface Context
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |