Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp
Class JavaObjectNode.JavaAccessorNode  view JavaObjectNode.JavaAccessorNode download JavaObjectNode.JavaAccessorNode.java

java.lang.Object
  extended bycom.tripi.asp.DefaultNode
      extended bycom.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.
 
Constructor Summary
JavaObjectNode.JavaAccessorNode(java.util.Map obj, java.lang.Object key)
          Constructor, Map form.
JavaObjectNode.JavaAccessorNode(SimpleMap obj, java.lang.Object key)
          Constructor, SimpleMap form.
 
Method Summary
 java.lang.Object getValue()
          getValue is a SimpleReference method which obtains the value of the current reference.
 void setValue(java.lang.Object val)
          setValue sets the value of the current reference.
 
Methods inherited from class com.tripi.asp.DefaultNode
dump, execute, prepare
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

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.

Method Detail

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