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

Quick Search    Search Deep

com.tripi.asp
Class JavaReferenceMapNode  view JavaReferenceMapNode download JavaReferenceMapNode.java

java.lang.Object
  extended bycom.tripi.asp.DefaultNode
      extended bycom.tripi.asp.JavaObjectNode
          extended bycom.tripi.asp.JavaReferenceMapNode
All Implemented Interfaces:
MapNode, Node, ObjectNode, SimpleMap, SimpleReference

public class JavaReferenceMapNode
extends JavaObjectNode
implements SimpleMap, SimpleReference

JavaReferenceMapNode class is a sub-class of JavaObjectNode specifically for java objects which implement both the SimpleMap interface as well as the SimpleReference interface.

Version:
0.9

Nested Class Summary
 
Nested classes inherited from class com.tripi.asp.JavaObjectNode
JavaObjectNode.JavaAccessorNode, JavaObjectNode.JavaFieldNode
 
Field Summary
private static org.apache.log4j.Category DBG
          Debugging object
(package private)  SimpleMap mapObj
          Contained object as a SimpleMap interface object
(package private)  SimpleReference refObj
          Contained object as a SimpleReference interface object
 
Fields inherited from class com.tripi.asp.JavaObjectNode
obj
 
Constructor Summary
JavaReferenceMapNode(java.lang.Object obj)
          Constructor.
 
Method Summary
 java.lang.Object get(java.lang.Object key)
          Obtains the value of an object contained within this map.
 java.util.Enumeration getKeys()
          Obtains the list of keys of this map.
 java.lang.Object getValue()
          Obtains the value of this object.
 void put(java.lang.Object key, java.lang.Object value)
          Stores a value into this map.
 void setValue(java.lang.Object value)
          Sets the value of this object.
 
Methods inherited from class com.tripi.asp.JavaObjectNode
getField, getIndex, getLBOUND, getSubObject, getUBOUND, toString
 
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, wait, wait, wait
 
Methods inherited from interface com.tripi.asp.Node
dump, execute, prepare
 

Field Detail

DBG

private static org.apache.log4j.Category DBG
Debugging object


mapObj

SimpleMap mapObj
Contained object as a SimpleMap interface object


refObj

SimpleReference refObj
Contained object as a SimpleReference interface object

Constructor Detail

JavaReferenceMapNode

public JavaReferenceMapNode(java.lang.Object obj)
Constructor.

Method Detail

setValue

public void setValue(java.lang.Object value)
              throws AspException
Sets the value of this object.

Specified by:
setValue in interface SimpleReference
Overrides:
setValue in class JavaObjectNode

getValue

public java.lang.Object getValue()
                          throws AspException
Obtains the value of this object.

Specified by:
getValue in interface SimpleReference

get

public java.lang.Object get(java.lang.Object key)
                     throws AspException
Obtains the value of an object contained within this map.

Specified by:
get in interface SimpleMap

put

public void put(java.lang.Object key,
                java.lang.Object value)
         throws AspException
Stores a value into this map.

Specified by:
put in interface SimpleMap

getKeys

public java.util.Enumeration getKeys()
                              throws AspException
Obtains the list of keys of this map.

Specified by:
getKeys in interface SimpleMap