public abstract class IndexResolver extends AbstractResolver
ListIndexResolver
,
ArrayIndexResolver
EnhancedResolver.Hint
configuration
DEFAULT_PRIORITY
Constructor and Description |
---|
IndexResolver(int priority) |
Modifier and Type | Method and Description |
---|---|
protected Integer |
getIndexValue(String name,
int maxSize) |
protected Integer |
getIndexValue(String name,
String key,
int maxSize) |
protected boolean |
isAnIndex(String name) |
protected boolean |
notAnIndex(String name) |
createHint, getPriority, toString
checkNotInitialized, init, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConfigurationKeys, init
protected boolean notAnIndex(String name)
name
- true
if the given key doesn't represent an index
(must only contain digits)protected boolean isAnIndex(String name)
name
- true
if the given key represents an index (must only
contain digits)protected Integer getIndexValue(String name, int maxSize)
name
- maxSize
- null
in case of invalid indexCopyright © 2017. All rights reserved.