Package org.apache.ofbiz.minilang.method
Class MethodObject<T>
- java.lang.Object
-
- org.apache.ofbiz.minilang.MiniLangElement
-
- org.apache.ofbiz.minilang.method.MethodObject<T>
-
- Direct Known Subclasses:
FieldObject
,StringObject
public abstract class MethodObject<T> extends MiniLangElement
A single Object value to be used as a parameter or whatever
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.minilang.MiniLangElement
simpleMethod
-
-
Constructor Summary
Constructors Constructor Description MethodObject(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract T
getObject(MethodContext methodContext)
Get the Object valueabstract java.lang.Class<T>
getTypeClass(MethodContext methodContext)
Get the Class for the type of the objectabstract java.lang.String
getTypeName()
Get the name for the type of the object-
Methods inherited from class org.apache.ofbiz.minilang.MiniLangElement
gatherArtifactInfo, getLineNumber, getSimpleMethod, getTagName, outputTraceMessage, toString
-
-
-
-
Constructor Detail
-
MethodObject
public MethodObject(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
-
Method Detail
-
getObject
public abstract T getObject(MethodContext methodContext)
Get the Object value
-
getTypeClass
public abstract java.lang.Class<T> getTypeClass(MethodContext methodContext) throws java.lang.ClassNotFoundException
Get the Class for the type of the object- Throws:
java.lang.ClassNotFoundException
-
getTypeName
public abstract java.lang.String getTypeName()
Get the name for the type of the object
-
-