org.ofbiz.minilang.method
Class StringObject
java.lang.Object
org.ofbiz.minilang.method.MethodObject<java.lang.String>
org.ofbiz.minilang.method.StringObject
public class StringObject
- extends MethodObject<java.lang.String>
A type of MethodObject that represents a String constant value to be used as an Object
Method Summary |
java.lang.String |
getObject(MethodContext methodContext)
Get the Object value |
java.lang.Class<java.lang.String> |
getTypeClass(java.lang.ClassLoader loader)
Get the Class for the type of the object |
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 |
StringObject
public StringObject(org.w3c.dom.Element element,
SimpleMethod simpleMethod)
getTypeName
public java.lang.String getTypeName()
- Get the name for the type of the object
- Specified by:
getTypeName
in class MethodObject<java.lang.String>
getTypeClass
public java.lang.Class<java.lang.String> getTypeClass(java.lang.ClassLoader loader)
- Description copied from class:
MethodObject
- Get the Class for the type of the object
- Specified by:
getTypeClass
in class MethodObject<java.lang.String>
getObject
public java.lang.String getObject(MethodContext methodContext)
- Description copied from class:
MethodObject
- Get the Object value
- Specified by:
getObject
in class MethodObject<java.lang.String>