|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.japaki.beans.AbstractGenericBean<ChoiceParserBean>
net.sf.japaki.self.ChoiceParserBean
public class ChoiceParserBean
Parser bean for choice parsers.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sf.japaki.beans.AbstractGenericBean |
|---|
AbstractGenericBean.GenericProperty<B extends AbstractGenericBean,V> |
| Field Summary | |
|---|---|
static Property<ChoiceParserBean,List<BeanParserBean>> |
beansP
Property of the beans field |
| Constructor Summary | |
|---|---|
ChoiceParserBean()
|
|
| Method Summary | ||
|---|---|---|
List<BeanParserBean> |
getBeans()
Returns the option parser beans. |
|
List<Property<? super ChoiceParserBean,?>> |
getProperties()
Return a list of all properties of this bean. |
|
protected Object |
getValue(Property property)
Implementation of the getValue
method of all properties of this bean. |
|
protected void |
setValue(Property property,
Object value)
Implementation of the setValue
method of all properties of this bean. |
|
|
toParser(Inspector<?,T> inspector)
Creates a parser from the information stored in the bean. |
|
| Methods inherited from class net.sf.japaki.beans.AbstractGenericBean |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Property<ChoiceParserBean,List<BeanParserBean>> beansP
| Constructor Detail |
|---|
public ChoiceParserBean()
| Method Detail |
|---|
public List<BeanParserBean> getBeans()
public List<Property<? super ChoiceParserBean,?>> getProperties()
GenericBean
getProperties in interface GenericBean<ChoiceParserBean>getProperties in class AbstractGenericBean<ChoiceParserBean>protected Object getValue(Property property)
AbstractGenericBeangetValue
method of all properties of this bean.
This method should not be called directly,
use AbstractGenericBean.GenericProperty.getValue(B) instead.
getValue in class AbstractGenericBean<ChoiceParserBean>
protected void setValue(Property property,
Object value)
AbstractGenericBeansetValue
method of all properties of this bean.
This method should not be called directly,
use AbstractGenericBean.GenericProperty.setValue(B, V) instead.
setValue in class AbstractGenericBean<ChoiceParserBean>public <T> Parser<? super T> toParser(Inspector<?,T> inspector)
ParserBean
toParser in interface ParserBeaninspector - necessary context information
NullPointerException - if a parameter that is necessary to
create the parser is null
IllegalArgumentException - if a property of this bean has a
value that can not be used to create a parser
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||