net.sf.japaki.self
Class KeyValueBeanInspector<B,V extends KeyValueBean<K,W>,K,W>
java.lang.Object
net.sf.japaki.self.Inspector<B,V>
net.sf.japaki.self.KeyValueBeanInspector<B,V,K,W>
public class KeyValueBeanInspector<B,V extends KeyValueBean<K,W>,K,W>
- extends Inspector<B,V>
Retrieves a property from the underlying bean by name.
Method Summary |
protected Property<? super V,?> |
findProperty(String name)
Searches a property in the base class of this inspector with
the specified name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyValueBeanInspector
protected KeyValueBeanInspector(Property<B,V> property,
InspectorMill inspectorMill)
- Constructs an inspector from the given arguments.
- Parameters:
property
- the property used to create new parserssinspectorMill
- the inspector mill used to create new inspectors
findProperty
protected Property<? super V,?> findProperty(String name)
- Description copied from class:
Inspector
- Searches a property in the base class of this inspector with
the specified name.
- Specified by:
findProperty
in class Inspector<B,V extends KeyValueBean<K,W>>
- Parameters:
name
- name of the property
- Returns:
- a property with the specified name
- Throws:
NoSuchPropertyException
- if a property with the specified name
could not be found.