Package com.yahoo.prelude.semantics.rule
Class CompositeItemCondition
java.lang.Object
com.yahoo.prelude.semantics.rule.Condition
com.yahoo.prelude.semantics.rule.CompositeCondition
com.yahoo.prelude.semantics.rule.CompositeItemCondition
A condition on the presense of a particular kind of composite item (possibly also with a particular content)
- Since:
- 5.1.15
- Author:
- bratseth
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.prelude.semantics.rule.Condition
Condition.Anchor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Returns whether this condition matches the given evaluation at the current location of the evaluation.protected String
All instances of this produces a parseable string outputMethods inherited from class com.yahoo.prelude.semantics.rule.CompositeCondition
addCondition, allSubConditionsMatches, conditionIterator, conditions, conditionSize, conditionsToString, getCondition, hasOpenChoicepoint, makeReferences, postMatchHook, preMatchHook, removeCondition, setCondition, toInnerString, useParentheses
Methods inherited from class com.yahoo.prelude.semantics.rule.Condition
getAnchor, getContextName, getLabel, getLabelString, getMatchInfo, getMatchInfoString, getNameSpace, getParent, isDefaultContextName, isReferable, labelMatches, labelMatches, matches, matchesEndAnchor, matchesStartAnchor, setAnchor, setContextName, setLabel, setNameSpace, toString, traceResult
-
Constructor Details
-
CompositeItemCondition
public CompositeItemCondition()
-
-
Method Details
-
doesMatch
Description copied from class:Condition
Returns whether this condition matches the given evaluation at the current location of the evaluation. If there is a match, the evaluation must be advanced to the location beyond the matching item(s) before this method returns. -
toInnerString
Description copied from class:Condition
All instances of this produces a parseable string output- Specified by:
toInnerString
in classCondition
-