Class MiniLangElement

java.lang.Object
org.apache.ofbiz.minilang.MiniLangElement
Direct Known Subclasses:
Calculate.CalcOp, Calculate.NumberOp, CombinedCondition, ElseIf, MessageElement, MethodObject, MethodOperation, SimpleMethod

public class MiniLangElement extends Object
A single Mini-language element. This class is the superclass for all XML element models.
  • Constructor Details

  • Method Details

    • gatherArtifactInfo

      public void gatherArtifactInfo(ArtifactInfoContext aic)
      Updates aic with this element's artifact information.
      Parameters:
      aic - The artifact information context
    • getLineNumber

      public String getLineNumber()
      Returns the source code line number for this element.
      Returns:
      The source code line number for this element
    • getSimpleMethod

      public SimpleMethod getSimpleMethod()
      Returns the containing SimpleMethod object.
      Returns:
      The containing SimpleMethod object
    • getTagName

      public String getTagName()
      Returns this element's tag name.
      Returns:
      This element's tag name
    • outputTraceMessage

      public void outputTraceMessage(MethodContext methodContext, String... messages)
      Logs a trace message.
      Parameters:
      methodContext -
      messages -
    • toString

      public String toString()
      Overrides:
      toString in class Object