public abstract class BeanAdapter extends Object
| Constructor and Description |
|---|
BeanAdapter(BeanAdapterFactory beanAdapterFactory)
Create a new BeanAdapter.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
get(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
Get a property
|
String |
getAvailable()
Get the available properties as a string
|
protected BeanAdapterFactory |
getBeanAdapterFactory()
Get the bean adapter factory
|
AbstractPropertyHandler |
getPropertyHandler(QName qName)
Get the property handler for an element name
|
abstract Object |
getValue()
Get the value
|
AbstractPropertyHandler |
getWildcardHandler()
Get the wildcardHandler.
|
abstract void |
set(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
Object child)
Set a property
|
public BeanAdapter(BeanAdapterFactory beanAdapterFactory)
beanAdapterFactory - the bean adapter factoryIllegalArgumentException - for a null bean adapter factoryprotected BeanAdapterFactory getBeanAdapterFactory()
public AbstractPropertyHandler getPropertyHandler(QName qName)
qName - the element namepublic AbstractPropertyHandler getWildcardHandler()
public String getAvailable()
public abstract Object get(org.jboss.beans.info.spi.PropertyInfo propertyInfo) throws Throwable
propertyInfo - the property infoThrowable - for any errorpublic abstract void set(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
Object child)
throws Throwable
propertyInfo - the property infochild - the valueThrowable - for any errorpublic abstract Object getValue()
Copyright © 2016 JBoss by Red Hat. All rights reserved.