com.atlassian.confluence.json.introspector
Interface Introspector
- All Known Implementing Classes:
- DefaultIntrospector
public interface Introspector
Converts a Java bean to a set of String-to-Object mappings by enumerating all get* and is* methods on the bean.
Method Summary |
Map<String,?> |
getProperties(Object bean)
Return the properties of the bean as property names mapped to property value Objects. |
getProperties
Map<String,?> getProperties(Object bean)
- Return the properties of the bean as property names mapped to property value Objects.
Properties are defined by getter methods of the form getX or isX, with no parameters.
- Parameters:
bean
-
- Returns:
- map of property name Strings to property values.