|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.swan.xml.input.reflect.BeanMapper
Constructor Summary | |
BeanMapper(java.lang.Class beanType)
|
Method Summary | |
ContextListener |
getPropertyAdapter(java.lang.String name)
Method for obtaining a ContextListener
to handle a specific JavaBean property. |
ContextListener |
property(java.lang.String name)
Fail-fast method for obtaining a ContextListener
to handle a specific JavaBean property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BeanMapper(java.lang.Class beanType) throws java.beans.IntrospectionException
Method Detail |
public ContextListener getPropertyAdapter(java.lang.String name)
ContextListener
to handle a specific JavaBean property. This will never throw an
exception, but it may return null
.property(String)
public ContextListener property(java.lang.String name) throws NoSuchPropertyException
ContextListener
to handle a specific JavaBean property. This will throw an exception if it
cannot provide a suitable adapter and will never return null
.NoSuchPropertyException
- if the associated bean type has no
such property.getPropertyAdapter(String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |