Class ReferencedMatches
- java.lang.Object
-
- com.yahoo.prelude.semantics.engine.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
-
-
-
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
-
-