Package | Description |
---|---|
net.sf.mmm.util.pojo.path.api |
Provides the API for navigating a
PojoPath . |
net.sf.mmm.util.pojo.path.base |
Contains the base-implementation of the
PojoPath API. |
net.sf.mmm.util.pojo.path.impl |
Contains the implementation of the
PojoPath API. |
net.sf.mmm.util.pojo.path.impl.function |
Contains implementations of
PojoPathFunction . |
net.sf.mmm.util.value.base |
Contains the base-implementations of the
value API . |
Modifier and Type | Method and Description |
---|---|
VALUE |
PojoPathFunction.create(IN input,
String functionName,
PojoPathContext context)
This method creates an appropriate new value.
|
VALUE |
PojoPathFunction.get(IN input,
String functionName,
PojoPathContext context)
This method gets the value of this function.
|
Object |
PojoPathNavigator.get(Object pojo,
String pojoPath,
PojoPathMode mode,
PojoPathContext context)
This method evaluates the given
pojoPath for the given pojo using the given mode
and context . |
<TYPE> TYPE |
PojoPathNavigator.get(Object pojo,
String pojoPath,
PojoPathMode mode,
PojoPathContext context,
Class<TYPE> targetClass)
This method evaluates the given
pojoPath for the given pojo using the given mode
and context . |
GenericType<?> |
PojoPathNavigator.getType(GenericType<?> pojoType,
String pojoPath,
boolean failOnUnsafePath,
PojoPathContext context)
This method determines the result-type for the given
pojoPath starting at the given
pojoType using the given context . |
GenericType<?> |
PojoPathNavigator.getType(Type pojoType,
String pojoPath,
boolean failOnUnsafePath,
PojoPathContext context)
This method determines the result-type for the given
pojoPath starting at the given
pojoType using the given context . |
Map<String,Object> |
PojoPathNavigator.pojo2Map(Object pojo,
PojoPathContext context)
|
VALUE |
PojoPathFunction.set(IN input,
String functionName,
VALUE value,
PojoPathContext context)
|
Object |
PojoPathNavigator.set(Object pojo,
String pojoPath,
PojoPathMode mode,
PojoPathContext context,
Object value)
This method sets the given
value for the given pojoPath in the given pojo using
the given mode and context . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultPojoPathContext
This is the default implementation of the
PojoPathContext interface. |
class |
PojoPathContextBean
This is an implementation of the
PojoPathContext interface as simple Java bean. |
Modifier and Type | Field and Description |
---|---|
private PojoPathContext |
PojoPathMap.context |
Modifier and Type | Method and Description |
---|---|
protected Object |
AbstractPojoPathNavigator.convert(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
Object pojo,
Class<?> targetClass,
GenericType<?> targetType)
This method converts the given
pojo to the given targetClass (or even targetType ) as
necessary. |
protected Object |
AbstractPojoPathNavigator.convertList(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state,
Object arrayOrCollection)
This method converts the given
arrayOrCollection to a List as necessary. |
protected Object |
AbstractPojoPathNavigator.create(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state,
Class<?> pojoClass)
This method creates a
Pojo of the given pojoType . |
VALUE |
AbstractPojoPathFunction.create(IN actual,
String functionName,
PojoPathContext context) |
protected AbstractPojoPathNavigator.PojoPathState |
AbstractPojoPathNavigator.createState(Object initialPojo,
String pojoPath,
PojoPathMode mode,
PojoPathContext context)
This method gets the
AbstractPojoPathNavigator.PojoPathState for the given context . |
protected AbstractPojoPathNavigator.PojoPathState |
AbstractPojoPathNavigator.createStateByType(GenericType initialPojoType,
String pojoPath,
PojoPathMode mode,
PojoPathContext context)
This method gets the
AbstractPojoPathNavigator.PojoPathState for the given context . |
protected Object |
AbstractPojoPathNavigator.get(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state)
|
VALUE |
AbstractPojoPathFunction.get(IN actual,
String functionName,
PojoPathContext context) |
VALUE |
AbstractMapPojoPathFunction.get(Map<String,Object> current,
String functionName,
PojoPathContext context) |
Object |
AbstractPojoPathNavigator.get(Object pojo,
String pojoPath,
PojoPathMode mode,
PojoPathContext context) |
<TYPE> TYPE |
AbstractPojoPathNavigator.get(Object pojo,
String pojoPath,
PojoPathMode mode,
PojoPathContext context,
Class<TYPE> targetClass) |
protected Object |
AbstractPojoPathNavigator.getFromFunction(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state,
PojoPathFunction function)
|
protected Object |
AbstractPojoPathNavigator.getFromList(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state,
int index)
|
protected Object |
AbstractPojoPathNavigator.getFromMap(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state,
Map parentPojo)
|
protected abstract Object |
AbstractPojoPathNavigator.getFromPojo(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state)
|
protected PojoPathFunction |
AbstractPojoPathNavigator.getFunction(String functionName,
PojoPathContext context)
This method gets the
PojoPathFunction for the given functionName . |
private AbstractPojoPathNavigator.CachingPojoPath |
AbstractPojoPathNavigator.getPath(Object pojo,
String pojoPath,
PojoPathMode mode,
PojoPathContext context)
This method contains the internal implementation of
AbstractPojoPathNavigator.get(Object, String, PojoPathMode, PojoPathContext) . |
protected AbstractPojoPathNavigator.CachingPojoPath |
AbstractPojoPathNavigator.getRecursive(String pojoPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state)
This method recursively navigates the given
pojoPath . |
GenericType<?> |
AbstractPojoPathNavigator.getType(GenericType<?> pojoType,
String pojoPath,
boolean failOnUnsafePath,
PojoPathContext context) |
GenericType<?> |
AbstractPojoPathNavigator.getType(Type pojoType,
String pojoPath,
boolean failOnUnsafePath,
PojoPathContext context) |
Map<String,Object> |
AbstractPojoPathNavigator.pojo2Map(Object pojo,
PojoPathContext context) |
protected Object |
AbstractPojoPathNavigator.set(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state,
Object parentPojo,
Object value)
|
VALUE |
AbstractPojoPathFunction.set(IN actual,
String functionName,
VALUE value,
PojoPathContext context) |
VALUE |
AbstractMapPojoPathFunction.set(Map<String,Object> current,
String functionName,
VALUE value,
PojoPathContext context) |
Object |
AbstractPojoPathNavigator.set(Object pojo,
String pojoPath,
PojoPathMode mode,
PojoPathContext context,
Object value) |
protected Object |
AbstractPojoPathNavigator.setInList(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state,
Object parentPojo,
Object value,
int index)
|
protected abstract Object |
AbstractPojoPathNavigator.setInPojo(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state,
Object parentPojo,
Object value)
|
Constructor and Description |
---|
PojoPathMap(PojoPathNavigator pojoPathNavigator,
Object pojo,
PojoPathContext context)
The constructor.
|
PojoPathMap(PojoPathNavigator pojoPathNavigator,
Object pojo,
PojoPathContext context,
PojoPathMode mode)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
PojoPathNavigatorImpl.getFromPojo(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state) |
protected Object |
PojoPathNavigatorImpl.setInPojo(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
AbstractPojoPathNavigator.PojoPathState state,
Object parentPojo,
Object value) |
Modifier and Type | Method and Description |
---|---|
String |
PojoPathNamedFunctionToString.get(Object actual,
String functionName,
PojoPathContext context) |
Modifier and Type | Field and Description |
---|---|
private PojoPathContext |
PojoPathPropertyAccessor.context
The
PojoPathContext to use. |
Constructor and Description |
---|
PojoPathPropertyAccessor(PojoPathNavigator navigator,
String pojoPath,
Class<VALUE> valueType,
PojoPathMode writeMode,
PojoPathContext context)
The constructor.
|
Copyright © 2001–2016 mmm-Team. All rights reserved.