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) |
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)
public static HasContainer[] makeHasContainers(String key, P<?> predicate)
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.