net.sf.japaki.self
Class LeafInspector<B,V>
java.lang.Object
net.sf.japaki.self.Inspector<B,V>
net.sf.japaki.self.LeafInspector<B,V>
public class LeafInspector<B,V>
- extends Inspector<B,V>
Inspector for leaf elements.
It is only used to store the property.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeafInspector
public LeafInspector(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)
- Does nothing.
- Specified by:
findProperty in class Inspector<B,V>
- Parameters:
name - name of the property
- Returns:
- a property with the specified name
- Throws:
NoSuchPropertyException - always