public abstract class StringFilter extends SingleValueAttributeFilter
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ConnectorObject obj)
Determines whether the specified
ConnectorObject
matches this filter. |
abstract boolean |
accept(String value) |
String |
getValue()
Get the string value from the afore mentioned attribute.
|
getAttribute, getName, isPresent
public String getValue()
getValue
in class SingleValueAttributeFilter
SingleValueAttributeFilter.getValue()
public boolean accept(ConnectorObject obj)
Filter
ConnectorObject
matches this filter.obj
- - The specified ConnectorObject.true
if the object matches
(that is, satisfies all selection criteria of) this filter;
otherwise false
.ClassCastException
- iff the value from the ConnectorObject
's attribute
of the same name as provided is not a string.Filter.accept(ConnectorObject)
public abstract boolean accept(String value)
Copyright © 2013. All Rights Reserved.