public class ModelPathResolver
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ModelPathResolver.ResolvedModelPathResult
Static class that holds the result of the resolved path.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.ThreadLocal<java.util.Map<java.lang.String,java.lang.Object>> |
modelMapThreadLocal |
| Constructor and Description |
|---|
ModelPathResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.String |
getGetter(java.lang.Object instance,
java.lang.String fieldNameOrGetter)
Gets the name of the getter.
|
static ModelPathResolver.ResolvedModelPathResult |
resolveModelPath(java.util.Map<java.lang.String,java.lang.Object> model,
java.lang.String path)
Resolves path on the model.
|
static ModelPathResolver.ResolvedModelPathResult |
resolveModelPath(java.lang.String path)
Resolves path on the model.
|
public static java.lang.ThreadLocal<java.util.Map<java.lang.String,java.lang.Object>> modelMapThreadLocal
public static ModelPathResolver.ResolvedModelPathResult resolveModelPath(java.lang.String path)
path - the path to resolvepublic static ModelPathResolver.ResolvedModelPathResult resolveModelPath(java.util.Map<java.lang.String,java.lang.Object> model, java.lang.String path)
model - the modelpath - the path to resolveprotected static java.lang.String getGetter(java.lang.Object instance,
java.lang.String fieldNameOrGetter)
instance - the instance to search the getter infieldNameOrGetter - the name of the field or method to get the getter forCopyright © 2017-2018 Holisticon AG. All Rights Reserved.