org.ofbiz.minilang.method
Class MethodObject<T>
java.lang.Object
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
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 |
simpleMethod
protected SimpleMethod simpleMethod
MethodObject
public MethodObject(org.w3c.dom.Element element,
SimpleMethod simpleMethod)
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