net.sf.japaki.self
Class SinglePropertyBeanInspector<B,V extends SinglePropertyBean<T>,T>

java.lang.Object
  extended by net.sf.japaki.self.Inspector<B,V>
      extended by net.sf.japaki.self.SinglePropertyBeanInspector<B,V,T>

public class SinglePropertyBeanInspector<B,V extends SinglePropertyBean<T>,T>
extends Inspector<B,V>

An inspector for single property bean.


Constructor Summary
protected SinglePropertyBeanInspector(Property<B,V> property, InspectorMill inspectorMill)
          Constructs an inspector from the given arguments.
 
Method Summary
protected  Property<? super V,?> findProperty(String name)
          Returns the property of single property beans.
 
Methods inherited from class net.sf.japaki.self.Inspector
findChild, getMill, getParserStore, getProperty, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SinglePropertyBeanInspector

protected SinglePropertyBeanInspector(Property<B,V> property,
                                      InspectorMill inspectorMill)
Constructs an inspector from the given arguments.

Parameters:
property - the property used to create new parserss
inspectorMill - the inspector mill used to create new inspectors
Method Detail

findProperty

protected Property<? super V,?> findProperty(String name)
Returns the property of single property beans.

Specified by:
findProperty in class Inspector<B,V extends SinglePropertyBean<T>>
Parameters:
name - ignored
Returns:
the property of single property beans