org.araneaframework.uilib.list.util.like
Class AutomaticWildcardHandler
java.lang.Object
org.araneaframework.uilib.list.util.like.BaseWildcardHandler
org.araneaframework.uilib.list.util.like.AutomaticWildcardHandler
- All Implemented Interfaces:
- Serializable, WildcardHandler
public class AutomaticWildcardHandler
- extends BaseWildcardHandler
Automatic implementation of WildcardHandler.
Wildcard is added at the start if there was no wildcard at the end
and it is added at the end if there was no wildcard at the start.
- Author:
- Rein Raudjärv
- See Also:
WildcardHandler,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutomaticWildcardHandler
public AutomaticWildcardHandler()
shouldStartWith
public int shouldStartWith()
- Description copied from interface:
WildcardHandler
- Returns which wildcard the Like pattern should start with.
- Returns:
- Like pattern wildcard.
shouldEndWith
public int shouldEndWith()
- Description copied from interface:
WildcardHandler
- Returns which wildcard the Like pattern should end with.
- Returns:
- Like pattern wildcard.
newInstance
public WildcardHandler newInstance()
- Description copied from interface:
WildcardHandler
- Returns new instance of the same class.
- Returns:
- new instance of the same class.