Package org.apache.ofbiz.minilang.method
Class FieldObject<T>
- java.lang.Object
-
- org.apache.ofbiz.minilang.MiniLangElement
-
- org.apache.ofbiz.minilang.method.MethodObject<T>
-
- org.apache.ofbiz.minilang.method.FieldObject<T>
-
public final class FieldObject<T> extends MethodObject<T>
Implements the <field> element.- See Also:
- Mini-language Reference
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.minilang.MiniLangElement
simpleMethod
-
-
Constructor Summary
Constructors Constructor Description FieldObject(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getObject(MethodContext methodContext)
Get the Object valuejava.lang.Class<T>
getTypeClass(MethodContext methodContext)
Get the Class for the type of the objectjava.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
-
FieldObject
public FieldObject(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
-
Method Detail
-
getObject
public T getObject(MethodContext methodContext)
Description copied from class:MethodObject
Get the Object value- Specified by:
getObject
in classMethodObject<T>
-
getTypeClass
public java.lang.Class<T> getTypeClass(MethodContext methodContext) throws java.lang.ClassNotFoundException
Description copied from class:MethodObject
Get the Class for the type of the object- Specified by:
getTypeClass
in classMethodObject<T>
- Throws:
java.lang.ClassNotFoundException
-
getTypeName
public java.lang.String getTypeName()
Description copied from class:MethodObject
Get the name for the type of the object- Specified by:
getTypeName
in classMethodObject<T>
-
-