public class HasContainer extends Object implements Serializable, Cloneable, Predicate<Element>
Constructor and Description |
---|
HasContainer(String key,
P<?> predicate) |
Modifier and Type | Method and Description |
---|---|
HasContainer |
clone() |
BiPredicate<?,?> |
getBiPredicate() |
String |
getKey() |
P<?> |
getPredicate() |
Object |
getValue() |
int |
hashCode() |
void |
setKey(String key) |
boolean |
test(Element element) |
boolean |
test(Property property) |
static boolean |
testAll(Element element,
List<HasContainer> hasContainers) |
static <V> boolean |
testAll(Property<V> property,
List<HasContainer> hasContainers) |
protected boolean |
testId(Element element) |
protected boolean |
testIdAsString(Element element) |
protected boolean |
testKey(Property property) |
protected boolean |
testLabel(Element element) |
protected boolean |
testValue(Property property) |
String |
toString() |
public final boolean test(Property property)
protected boolean testId(Element element)
protected boolean testIdAsString(Element element)
protected boolean testLabel(Element element)
protected boolean testValue(Property property)
protected boolean testKey(Property property)
public HasContainer clone()
public final String getKey()
public final void setKey(String key)
public final P<?> getPredicate()
public final BiPredicate<?,?> getBiPredicate()
public final Object getValue()
public static <V> boolean testAll(Property<V> property, List<HasContainer> hasContainers)
public static boolean testAll(Element element, List<HasContainer> hasContainers)
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.