Package org.apache.ofbiz.minilang
Class MiniLangElement
java.lang.Object
org.apache.ofbiz.minilang.MiniLangElement
- Direct Known Subclasses:
Calculate.CalcOp
,Calculate.NumberOp
,CombinedCondition
,ElseIf
,MessageElement
,MethodObject
,MethodOperation
,SimpleMethod
A single Mini-language element. This class is the superclass for all XML element models.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Updatesaic
with this element's artifact information.Returns the source code line number for this element.Returns the containingSimpleMethod
object.Returns this element's tag name.void
outputTraceMessage
(MethodContext methodContext, String... messages) Logs a trace message.toString()
-
Constructor Details
-
MiniLangElement
-
-
Method Details
-
gatherArtifactInfo
Updatesaic
with this element's artifact information.- Parameters:
aic
- The artifact information context
-
getLineNumber
Returns the source code line number for this element.- Returns:
- The source code line number for this element
-
getSimpleMethod
Returns the containingSimpleMethod
object.- Returns:
- The containing
SimpleMethod
object
-
getTagName
Returns this element's tag name.- Returns:
- This element's tag name
-
outputTraceMessage
Logs a trace message.- Parameters:
methodContext
-messages
-
-
toString
-