public abstract class IndexResolver extends AbstractResolver
ListIndexResolver,
ArrayIndexResolverEnhancedResolver.HintconfigurationDEFAULT_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, toStringcheckNotInitialized, init, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConfigurationKeys, initprotected 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.