public final class StartsWithFilter extends StringFilter
Constructor and Description |
---|
StartsWithFilter(Attribute attr) |
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(FilterVisitor<R,P> v,
P p)
Applies a
FilterVisitor to this Filter . |
boolean |
accept(String value) |
String |
toString() |
accept, getValue
getAttribute, getName, isPresent
public StartsWithFilter(Attribute attr)
public boolean accept(String value)
accept
in class StringFilter
public <R,P> R accept(FilterVisitor<R,P> v, P p)
Filter
FilterVisitor
to this Filter
.R
- The return type of the visitor's methods.P
- The type of the additional parameters to the visitor's
methods.v
- The filter visitor.p
- Optional additional visitor parameter.Copyright © 2019. All rights reserved.