com.tripi.asp
Class JavaObjectNode.JavaAccessorNode

java.lang.Object
com.tripi.asp.DefaultNode
com.tripi.asp.JavaObjectNode.JavaAccessorNode
- All Implemented Interfaces:
- Node, SimpleReference
- Enclosing class:
- JavaObjectNode
- static class JavaObjectNode.JavaAccessorNode
- extends DefaultNode
- implements SimpleReference
JavaAccessorNode class handles the obtaining of object
within Java objects by strings.
|
Field Summary |
(package private) java.lang.Object |
key
The key being obtained from the map. |
(package private) java.util.Map |
mapObj
mapObj isused if the sub-object is an instance of the Map interface. |
(package private) SimpleMap |
simpleMapObj
simpleMapObj is used if the sub-object is an instance of the
SimpleMap interface. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
simpleMapObj
SimpleMap simpleMapObj
- simpleMapObj is used if the sub-object is an instance of the
SimpleMap interface.
mapObj
java.util.Map mapObj
- mapObj isused if the sub-object is an instance of the Map interface.
key
java.lang.Object key
- The key being obtained from the map.
JavaObjectNode.JavaAccessorNode
public JavaObjectNode.JavaAccessorNode(java.util.Map obj,
java.lang.Object key)
- Constructor, Map form.
JavaObjectNode.JavaAccessorNode
public JavaObjectNode.JavaAccessorNode(SimpleMap obj,
java.lang.Object key)
- Constructor, SimpleMap form.
getValue
public java.lang.Object getValue()
throws AspException
- getValue is a SimpleReference method which obtains the value
of the current reference.
- Specified by:
getValue in interface SimpleReference
setValue
public void setValue(java.lang.Object val)
throws AspException
- setValue sets the value of the current reference.
- Specified by:
setValue in interface SimpleReference