Package de.hsh.graja.util.comment.event
Class CompositeCondition
- java.lang.Object
-
- de.hsh.graja.util.comment.event.CompositeCondition
-
- All Implemented Interfaces:
Condition
,Serializable
- Direct Known Subclasses:
AndCondition
,OrCondition
public class CompositeCondition extends Object implements Condition
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompositeCondition.Operator
-
Constructor Summary
Constructors Constructor Description CompositeCondition(CompositeCondition.Operator operator, Condition... operands)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOperand(Condition operand)
boolean
isEmpty()
void
renderHtml(StringBuilder appender, RenderContext ctx)
-
-
-
Constructor Detail
-
CompositeCondition
public CompositeCondition(CompositeCondition.Operator operator, Condition... operands)
-
-
Method Detail
-
addOperand
public void addOperand(Condition operand)
-
isEmpty
public boolean isEmpty()
-
renderHtml
public void renderHtml(StringBuilder appender, RenderContext ctx)
- Specified by:
renderHtml
in interfaceCondition
-
-