Package org.apache.ofbiz.minilang.method
Class StringObject
- java.lang.Object
-
- org.apache.ofbiz.minilang.MiniLangElement
-
- org.apache.ofbiz.minilang.method.MethodObject<java.lang.String>
-
- org.apache.ofbiz.minilang.method.StringObject
-
public final class StringObject extends MethodObject<java.lang.String>
Specifies ajava.lang.String
to be passed as an argument to a method call.
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.minilang.MiniLangElement
simpleMethod
-
-
Constructor Summary
Constructors Constructor Description StringObject(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getObject(MethodContext methodContext)
Get the Object valuejava.lang.Class<java.lang.String>
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
-
StringObject
public StringObject(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
-
Method Detail
-
getObject
public java.lang.String getObject(MethodContext methodContext)
Description copied from class:MethodObject
Get the Object value- Specified by:
getObject
in classMethodObject<java.lang.String>
-
getTypeClass
public java.lang.Class<java.lang.String> 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<java.lang.String>
- Throws:
java.lang.ClassNotFoundException
-
getTypeName
public java.lang.String getTypeName()
Get the name for the type of the object- Specified by:
getTypeName
in classMethodObject<java.lang.String>
-
-