org.ofbiz.minilang.method.callops
Class CallSimpleMethod
java.lang.Object
org.ofbiz.minilang.method.MethodOperation
org.ofbiz.minilang.method.callops.CallSimpleMethod
public class CallSimpleMethod
- extends MethodOperation
An operation that calls a simple method in the same, or from another, file
Field Summary |
static java.lang.String |
module
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
CallSimpleMethod
public CallSimpleMethod(org.w3c.dom.Element element,
SimpleMethod simpleMethod)
getXmlResource
public java.lang.String getXmlResource()
getMethodName
public java.lang.String getMethodName()
exec
public boolean exec(MethodContext methodContext)
- Description copied from class:
MethodOperation
- Execute the operation; if false is returned then no further operations will be executed
- Specified by:
exec
in class MethodOperation
getSimpleMethodToCall
public SimpleMethod getSimpleMethodToCall(java.lang.ClassLoader loader)
throws MiniLangException
- Throws:
MiniLangException
rawString
public java.lang.String rawString()
- Description copied from class:
MethodOperation
- Create a raw string representation of the operation, would be similar to original XML
- Specified by:
rawString
in class MethodOperation
expandedString
public java.lang.String expandedString(MethodContext methodContext)
- Description copied from class:
MethodOperation
- Create an expanded string representation of the operation, is for the current context
- Specified by:
expandedString
in class MethodOperation