org.ofbiz.minilang.method
Class MethodObject<T>

java.lang.Object
  extended by org.ofbiz.minilang.method.MethodObject<T>
Direct Known Subclasses:
FieldObject, StringObject

public abstract class MethodObject<T>
extends java.lang.Object

A single Object value to be used as a parameter or whatever


Field Summary
protected  SimpleMethod simpleMethod
           
 
Constructor Summary
MethodObject(org.w3c.dom.Element element, SimpleMethod simpleMethod)
           
 
Method Summary
abstract  T getObject(MethodContext methodContext)
          Get the Object value
abstract  java.lang.Class<T> getTypeClass(java.lang.ClassLoader loader)
          Get the Class for the type of the object
abstract  java.lang.String getTypeName()
          Get the name for the type of the object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simpleMethod

protected SimpleMethod simpleMethod
Constructor Detail

MethodObject

public MethodObject(org.w3c.dom.Element element,
                    SimpleMethod simpleMethod)
Method Detail

getTypeName

public abstract java.lang.String getTypeName()
Get the name for the type of the object


getTypeClass

public abstract java.lang.Class<T> getTypeClass(java.lang.ClassLoader loader)
Get the Class for the type of the object


getObject

public abstract T getObject(MethodContext methodContext)
Get the Object value