|
JBoss XML Binding 2.0.3.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.xb.spi.BeanAdapter
org.jboss.xb.spi.DefaultBeanAdapter
public class DefaultBeanAdapter
DefaultBeanAdapter.
| Constructor Summary | |
|---|---|
DefaultBeanAdapter(BeanAdapterFactory beanAdapterFactory,
org.jboss.beans.info.spi.BeanInfo beanInfo,
org.jboss.reflect.spi.MethodInfo factory)
Create a new bean adapter |
|
| Method Summary | |
|---|---|
Object |
get(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
Get a property |
org.jboss.beans.info.spi.BeanInfo |
getBeanInfo()
Get the bean info |
org.jboss.reflect.spi.MethodInfo |
getFactory()
Get the factory |
Object |
getValue()
Get the value |
void |
set(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
Object child)
Set a property |
| Methods inherited from class org.jboss.xb.spi.BeanAdapter |
|---|
getAvailable, getBeanAdapterFactory, getPropertyHandler, getWildcardHandler |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultBeanAdapter(BeanAdapterFactory beanAdapterFactory,
org.jboss.beans.info.spi.BeanInfo beanInfo,
org.jboss.reflect.spi.MethodInfo factory)
beanAdapterFactory - the bean adapter factorybeanInfo - the bean infofactory - the factory
IllegalArgumentException - for null bean adapter factory or bean info| Method Detail |
|---|
public org.jboss.beans.info.spi.BeanInfo getBeanInfo()
public org.jboss.reflect.spi.MethodInfo getFactory()
public Object get(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
throws Throwable
BeanAdapter
get in class BeanAdapterpropertyInfo - the property info
Throwable - for any error
public void set(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
Object child)
throws Throwable
BeanAdapter
set in class BeanAdapterpropertyInfo - the property infochild - the value
Throwable - for any errorpublic Object getValue()
BeanAdapter
getValue in class BeanAdapter
|
JBoss XML Binding 2.0.3.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||