Class ReferencedMatches


  • public class ReferencedMatches
    extends java.lang.Object
    The Matches referenced by a particular context name in a rule evaluation
    Author:
    bratseth
    • Constructor Summary

      Constructors 
      Constructor Description
      ReferencedMatches​(java.lang.String contextName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMatch​(Match match)  
      java.lang.String getContextName()  
      java.util.Iterator<Match> matchIterator()  
      Item toItem​(java.lang.String label)
      Returns the item to insert from these referenced matches, or null if none
      • Methods inherited from class java.lang.Object

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

      • ReferencedMatches

        public ReferencedMatches​(java.lang.String contextName)
    • Method Detail

      • addMatch

        public void addMatch​(Match match)
      • getContextName

        public java.lang.String getContextName()
      • matchIterator

        public java.util.Iterator<Match> matchIterator()
      • toItem

        public Item toItem​(java.lang.String label)
        Returns the item to insert from these referenced matches, or null if none
        Parameters:
        label - the label of the matches