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() |
static HasContainer[] |
makeHasContainers(String key,
P<?> predicate)
Deprecated.
As of release 3.2.4. Providers should handle composite
P.and(java.util.function.Predicate<? super V>) predicates and not rely on splitting. |
void |
setKey(String key) |
boolean |
test(Element element) |
static boolean |
testAll(Element element,
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() |
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 boolean testAll(Element element, List<HasContainer> hasContainers)
@Deprecated public static HasContainer[] makeHasContainers(String key, P<?> predicate)
P.and(java.util.function.Predicate<? super V>)
predicates and not rely on splitting.Copyright © 2013–2017 Apache Software Foundation. All rights reserved.