Class ClearField
- java.lang.Object
-
- org.apache.ofbiz.minilang.MiniLangElement
-
- org.apache.ofbiz.minilang.method.MethodOperation
-
- org.apache.ofbiz.minilang.method.envops.ClearField
-
public final class ClearField extends MethodOperation
Implements the <clear-field> element.- See Also:
- Mini-language Referenc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClearField.ClearFieldFactory
A factory for the <clear-field> element.-
Nested classes/interfaces inherited from class org.apache.ofbiz.minilang.method.MethodOperation
MethodOperation.DeprecatedOperation, MethodOperation.Factory<M extends MethodOperation>
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.minilang.MiniLangElement
simpleMethod
-
-
Constructor Summary
Constructors Constructor Description ClearField(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exec(MethodContext methodContext)
Executes the operation.java.lang.String
toString()
-
Methods inherited from class org.apache.ofbiz.minilang.method.MethodOperation
expandedString, rawString
-
Methods inherited from class org.apache.ofbiz.minilang.MiniLangElement
gatherArtifactInfo, getLineNumber, getSimpleMethod, getTagName, outputTraceMessage
-
-
-
-
Constructor Detail
-
ClearField
public ClearField(org.w3c.dom.Element element, SimpleMethod simpleMethod) throws MiniLangException
- Throws:
MiniLangException
-
-
Method Detail
-
exec
public boolean exec(MethodContext methodContext) throws MiniLangException
Description copied from class:MethodOperation
Executes the operation. Returnstrue
if script execution should continue, orfalse
if script execution should stop.- Specified by:
exec
in classMethodOperation
- Throws:
MiniLangException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classMiniLangElement
-
-