public class PropertySelector extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
PropertySelector(List<String> path) |
| Modifier and Type | Method and Description |
|---|---|
PropertySelector |
createNullElements() |
PropertySelector |
createNullElements(InstantiationBehaviour instantiationBehaviour) |
InstantiationBehaviour |
getInstantiationBehaviour() |
PropertySelector |
nested(String path)
Return new selector by relative path starting from current
|
protected PropertyHandle |
onIndexed(int index,
PropertyHandle current) |
protected PropertyHandle |
onMapping(String mappingName,
PropertyHandle current) |
protected PropertyHandle |
onProperty(String prop,
PropertyHandle current) |
static PropertySelector |
parse(String path) |
PropertyHandle |
resolve(Object bean) |
protected void |
selectByPath(List<PropertyHandle> handles,
List<String> tmpPath,
PropertyInfo info) |
protected void |
selectProperties(List<PropertyHandle> handles,
ClassInfo classInfo) |
public PropertySelector nested(String path)
path - relative pathpublic PropertySelector createNullElements()
public PropertySelector createNullElements(InstantiationBehaviour instantiationBehaviour)
protected void selectByPath(List<PropertyHandle> handles, List<String> tmpPath, PropertyInfo info)
protected PropertyHandle onProperty(String prop, PropertyHandle current)
protected PropertyHandle onMapping(String mappingName, PropertyHandle current)
protected PropertyHandle onIndexed(int index, PropertyHandle current)
protected void selectProperties(List<PropertyHandle> handles, ClassInfo classInfo)
public PropertyHandle resolve(Object bean)
public static PropertySelector parse(String path)
public InstantiationBehaviour getInstantiationBehaviour()
Copyright © 2016. All rights reserved.