Modifier and Type | Field and Description |
---|---|
private java.util.Map |
propertyNameCache |
private PropertySorter |
sorter |
Constructor and Description |
---|
PropertyDictionary() |
PropertyDictionary(PropertySorter sorter) |
Modifier and Type | Method and Description |
---|---|
private java.util.Map |
buildMap(java.lang.Class type) |
void |
flushCache() |
java.util.Iterator |
propertiesFor(java.lang.Class type) |
BeanProperty |
property(java.lang.Class cls,
java.lang.String name)
Deprecated.
As of 1.3.1, use
propertyDescriptor(Class, String) instead |
java.beans.PropertyDescriptor |
propertyDescriptor(java.lang.Class type,
java.lang.String name)
Locates a property descriptor.
|
java.util.Iterator |
serializablePropertiesFor(java.lang.Class type)
Deprecated.
As of 1.3.1, use
propertiesFor(Class) instead |
private transient java.util.Map propertyNameCache
private final PropertySorter sorter
public PropertyDictionary()
public PropertyDictionary(PropertySorter sorter)
public java.util.Iterator serializablePropertiesFor(java.lang.Class type)
propertiesFor(Class)
insteadpublic BeanProperty property(java.lang.Class cls, java.lang.String name)
propertyDescriptor(Class, String)
insteadcls
- name
- public java.util.Iterator propertiesFor(java.lang.Class type)
public java.beans.PropertyDescriptor propertyDescriptor(java.lang.Class type, java.lang.String name)
type
- name
- private java.util.Map buildMap(java.lang.Class type)
public void flushCache()
flushCache
in interface Caching