public class PropertyReflectionImpl extends Object implements PropertyReflection
A PropertyReflection
implementation.
Constructor and Description |
---|
PropertyReflectionImpl()
Creates a property reflection.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue(Object obj,
String path)
Returns the value for the specified path.
|
public PropertyReflectionImpl()
Creates a property reflection.
public Object getValue(Object obj, String path) throws PropertyReflectionException
PropertyReflection
Returns the value for the specified path.
The path contains the name of the property which value should be returned. It also works for in-deep properties.
getValue
in interface PropertyReflection
obj
- The object.path
- The path.null
, if the property
is null
.PropertyReflectionException
- If an error occurs.Copyright © 2015–2019. All rights reserved.