private class EntityAttributesPredicate.EntityAttributesMatcher extends java.lang.Object implements com.google.common.base.Predicate<EntityAttributesPredicate.Candidate>
EntityAttributesPredicate.Candidate criterion is satisfied by the Attributes
in an EntityAttributes extension.| Modifier and Type | Field and Description |
|---|---|
private java.util.Collection<Attribute> |
attributes
Population to evaluate for a match.
|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
EntityAttributesMatcher(java.util.Collection<Attribute> attrs)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(EntityAttributesPredicate.Candidate input) |
private java.lang.String |
xmlObjectToString(XMLObject object)
Convert an XMLObject to a String if the type of recognized.
|
@Nonnull private final org.slf4j.Logger log
private final java.util.Collection<Attribute> attributes
public EntityAttributesMatcher(@Nonnull @NonnullElements
java.util.Collection<Attribute> attrs)
attrs - population to evaluate for a matchpublic boolean apply(@Nonnull
EntityAttributesPredicate.Candidate input)
apply in interface com.google.common.base.Predicate<EntityAttributesPredicate.Candidate>@Nullable
private java.lang.String xmlObjectToString(@Nonnull
XMLObject object)
object - object to convert