|
|||||||||
| Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.tripi.asp
Class JavaObjectNode

java.lang.Objectcom.tripi.asp.DefaultNode
com.tripi.asp.JavaObjectNode
- All Implemented Interfaces:
- MapNode, Node, ObjectNode
- Direct Known Subclasses:
- JavaMapNode, JavaReferenceMapNode, JavaReferenceNode
- public class JavaObjectNode
- extends DefaultNode
- implements ObjectNode, MapNode
- extends DefaultNode
JavaObjectNode class handles the interaction between Java objects and ASP objects.
- Version:
- 0.9
| Nested Class Summary | |
(package private) static class |
JavaObjectNode.JavaAccessorNode
JavaAccessorNode class handles the obtaining of object within Java objects by strings. |
(package private) static class |
JavaObjectNode.JavaFieldNode
The JavaFieldNode class handles referencing fields within Java objects. |
| Field Summary | |
private static org.apache.log4j.Category |
DBG
Debugging category |
(package private) java.lang.Object |
obj
Java object this ASP node is referencing |
| Constructor Summary | |
JavaObjectNode(java.lang.Object obj)
Constructor |
|
| Method Summary | |
java.lang.Object |
getField(IdentNode ident)
getField obtains a field of a Java object. |
java.lang.Object |
getIndex(VarListNode varlist,
AspContext context)
Obtains an array index, or calls a function, of a Java object. |
int |
getLBOUND(int dimension)
Returns the lower bound of the array contained within the Java object. |
java.lang.Object |
getSubObject()
Obtains the Java sub-object contained within this ASP node. |
int |
getUBOUND(int dimension)
Returns the upper bound of the array held within this JavaObjectNode. |
void |
setValue(java.lang.Object value)
Sets the value of this Java object, if the Java object implements the SimpleReference object. |
java.lang.String |
toString()
Converts this JavaObjectNode to a string, for debugging. |
| 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 category
obj
java.lang.Object obj
- Java object this ASP node is referencing
| Constructor Detail |
JavaObjectNode
public JavaObjectNode(java.lang.Object obj)
- Constructor
| Method Detail |
getField
public java.lang.Object getField(IdentNode ident)
- getField obtains a field of a Java object. Returns a JavaFieldNode
reference to this field.
- Specified by:
getFieldin interfaceObjectNode
getSubObject
public java.lang.Object getSubObject()
- Obtains the Java sub-object contained within this ASP node.
setValue
public void setValue(java.lang.Object value) throws AspException
- Sets the value of this Java object, if the Java object implements
the SimpleReference object.
getIndex
public java.lang.Object getIndex(VarListNode varlist, AspContext context) throws AspException
- Obtains an array index, or calls a function, of a Java object.
getUBOUND
public int getUBOUND(int dimension)
throws AspException
- Returns the upper bound of the array held within this JavaObjectNode.
Supports only single-dimensional Java arrays of objects.
getLBOUND
public int getLBOUND(int dimension)
throws AspException
- Returns the lower bound of the array contained within the Java object.
toString
public java.lang.String toString()
- Converts this JavaObjectNode to a string, for debugging.
|
|||||||||
| Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC