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, isPresentpublic String getValue()
getValue in class SingleValueAttributeFilterSingleValueAttributeFilter.getValue()public boolean accept(ConnectorObject obj)
FilterConnectorObject matches this
filter.obj - - The specified ConnectorObject.true if the object matches (that is, satisfies all
selection criteria of) this filter; otherwise false.IllegalArgumentException - if 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 © 2018. All rights reserved.