|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.japaki.beans.AbstractGenericBean<BeanParserBean>
net.sf.japaki.self.BeanParserBean
public class BeanParserBean
Parser bean for bean 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<BeanParserBean,List<ParserBean>> |
beansP
Property of the beans field |
static Property<BeanParserBean,ParserBean> |
delimiterP
Property of the delimiter field |
static Property<BeanParserBean,String> |
nameP
Property of the name field |
| Constructor Summary | |
|---|---|
BeanParserBean()
|
|
| Method Summary | ||
|---|---|---|
List<ParserBean> |
getBeans()
Returns property parsers. |
|
ParserBean |
getDelimiter()
Returns the current value of the delimiter field. |
|
String |
getName()
Returns name of the parser to be created. |
|
List<Property<? super BeanParserBean,?>> |
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. |
|
void |
setDelimiter(ParserBean delimiter)
Changes the value of the delimiter field. |
|
void |
setName(String name)
Changes the value of the name field. |
|
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<BeanParserBean,List<ParserBean>> beansP
public static final Property<BeanParserBean,String> nameP
public static final Property<BeanParserBean,ParserBean> delimiterP
| Constructor Detail |
|---|
public BeanParserBean()
| Method Detail |
|---|
public List<ParserBean> getBeans()
public String getName()
public ParserBean getDelimiter()
public void setName(String name)
name - new value of the name fieldpublic void setDelimiter(ParserBean delimiter)
delimiter - new value of the delimiter fieldpublic List<Property<? super BeanParserBean,?>> getProperties()
GenericBean
getProperties in interface GenericBean<BeanParserBean>getProperties in class AbstractGenericBean<BeanParserBean>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<BeanParserBean>
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<BeanParserBean>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 | ||||||||