|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.fortuna.ical4j.filter.ComponentRule
net.fortuna.ical4j.filter.HasPropertyRule
public class HasPropertyRule
A rule that matches any component containing the specified property. Note that this rule ignores any parameters matching only on the value of the property.
Constructor Summary | |
---|---|
HasPropertyRule(Property property)
Constructs a new instance with the specified property. |
|
HasPropertyRule(Property property,
boolean matchEquals)
Constructs a new instance with the specified property. |
Method Summary | |
---|---|
boolean |
match(Component component)
|
Methods inherited from class net.fortuna.ical4j.filter.ComponentRule |
---|
match |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HasPropertyRule(Property property)
property
- public HasPropertyRule(Property property, boolean matchEquals)
property
- the property to matchmatchEquals
- if true, matches must contain an identical property (as indicated by
Property.equals()
Method Detail |
---|
public final boolean match(Component component)
match
in class ComponentRule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |