public class WrapperBeanAdapterFactory extends BeanAdapterFactory
| Constructor and Description |
|---|
WrapperBeanAdapterFactory(BeanAdapterFactory wrapped,
Class<?> stopWrapping)
Create a new WrapperBeanAdapterFactory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(QName name,
AbstractPropertyHandler propertyHandler)
Add a property
|
String |
getAvailable()
Get the available properties as a string
|
Map<QName,AbstractPropertyHandler> |
getProperties()
Get the properties
|
AbstractPropertyHandler |
getPropertyHandler(QName name)
Get the property handler for an element name
|
Class<?> |
getStopWrapping()
The type to stop wrapping at
|
AbstractPropertyHandler |
getWildcardHandler()
Get the wildcardHandler.
|
WrapperBeanAdapter |
newInstance()
Create a new BeanAdapter
|
void |
setWildcardHandler(AbstractPropertyHandler wildcardHandler)
Set the wildcardHandler.
|
public WrapperBeanAdapterFactory(BeanAdapterFactory wrapped, Class<?> stopWrapping)
wrapped - the wrapped factorystopWrapping - the stop wrapping typepublic Class<?> getStopWrapping()
public WrapperBeanAdapter newInstance()
BeanAdapterFactorynewInstance in class BeanAdapterFactorypublic void addProperty(QName name, AbstractPropertyHandler propertyHandler)
BeanAdapterFactoryaddProperty in class BeanAdapterFactoryname - the qNamepropertyHandler - the property handlerpublic String getAvailable()
BeanAdapterFactorygetAvailable in class BeanAdapterFactorypublic Map<QName,AbstractPropertyHandler> getProperties()
BeanAdapterFactorygetProperties in class BeanAdapterFactorypublic AbstractPropertyHandler getPropertyHandler(QName name)
BeanAdapterFactorygetPropertyHandler in class BeanAdapterFactoryname - the element namepublic AbstractPropertyHandler getWildcardHandler()
BeanAdapterFactorygetWildcardHandler in class BeanAdapterFactorypublic void setWildcardHandler(AbstractPropertyHandler wildcardHandler)
BeanAdapterFactorysetWildcardHandler in class BeanAdapterFactorywildcardHandler - the wildcardHandler.Copyright © 2016 JBoss by Red Hat. All rights reserved.