Package org.apache.ofbiz.minilang.method
Class MessageElement
- java.lang.Object
-
- org.apache.ofbiz.minilang.MiniLangElement
-
- org.apache.ofbiz.minilang.method.MessageElement
-
public final class MessageElement extends MiniLangElement
Implements the <fail-message> and <fail-property> elements.- See Also:
- Mini-language Reference
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.minilang.MiniLangElement
simpleMethod
-
-
Constructor Summary
Constructors Constructor Description MessageElement(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageElement
fromParentElement(org.w3c.dom.Element element, SimpleMethod simpleMethod)
java.lang.String
getMessage(MethodContext methodContext)
java.lang.String
toString()
-
Methods inherited from class org.apache.ofbiz.minilang.MiniLangElement
gatherArtifactInfo, getLineNumber, getSimpleMethod, getTagName, outputTraceMessage
-
-
-
-
Constructor Detail
-
MessageElement
public MessageElement(org.w3c.dom.Element element, SimpleMethod simpleMethod) throws MiniLangException
- Throws:
MiniLangException
-
-
Method Detail
-
fromParentElement
public static MessageElement fromParentElement(org.w3c.dom.Element element, SimpleMethod simpleMethod) throws MiniLangException
- Throws:
MiniLangException
-
getMessage
public java.lang.String getMessage(MethodContext methodContext)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classMiniLangElement
-
-