Class Consequence

  • All Implemented Interfaces:
    DRLJavaEmitter

    public class Consequence
    extends DRLElement
    implements DRLJavaEmitter
    This represents a RHS fragement. A rule may have many of these, or just one. They are all mushed together.
    • Constructor Summary

      Constructors 
      Constructor Description
      Consequence()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getSnippet()  
      void renderDRL​(DRLOutput out)
      Each node can add its contribution to the output
      void setSnippet​(java.lang.String snippet)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Consequence

        public Consequence()
    • Method Detail

      • setSnippet

        public void setSnippet​(java.lang.String snippet)
        Parameters:
        snippet - The snippet to set.
      • getSnippet

        public java.lang.String getSnippet()