|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.japaki.self.Inspector<B,V>
public abstract class Inspector<B,V>
Retrieves a property from the underlying bean by name.
Constructor Summary | |
---|---|
protected |
Inspector(Property<B,V> property,
InspectorMill inspectorMill)
Constructs an inspector from the given arguments. |
Method Summary | |
---|---|
Inspector<? super V,?> |
findChild(String name)
Creates a new inspector for a property of the underlying class with the specified name. |
protected abstract Property<? super V,?> |
findProperty(String name)
Searches a property in the base class of this inspector with the specified name. |
protected InspectorMill |
getMill()
Returns the mill that is used to create new inspectors. |
ParserStore |
getParserStore()
Returns the parser store used to create new parsers. |
Property<B,V> |
getProperty()
Returns the property used to create new parsers. |
protected Class<V> |
getType()
Returns the class in which properties are searched. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Inspector(Property<B,V> property, InspectorMill inspectorMill)
property
- the property used to create new parserssinspectorMill
- the inspector mill used to create new inspectorsMethod Detail |
---|
public Property<B,V> getProperty()
protected InspectorMill getMill()
protected Class<V> getType()
public ParserStore getParserStore()
protected abstract Property<? super V,?> findProperty(String name)
name
- name of the property
NullPointerException
- if name is null
NoSuchPropertyException
- if a property with the specified name
could not be found.public Inspector<? super V,?> findChild(String name)
name
- name of the property
NoSuchPropertyException
- if a property with the specified name
could not be found.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |