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()
BeanAdapterFactory
newInstance
in class BeanAdapterFactory
public void addProperty(QName name, AbstractPropertyHandler propertyHandler)
BeanAdapterFactory
addProperty
in class BeanAdapterFactory
name
- the qNamepropertyHandler
- the property handlerpublic String getAvailable()
BeanAdapterFactory
getAvailable
in class BeanAdapterFactory
public Map<QName,AbstractPropertyHandler> getProperties()
BeanAdapterFactory
getProperties
in class BeanAdapterFactory
public AbstractPropertyHandler getPropertyHandler(QName name)
BeanAdapterFactory
getPropertyHandler
in class BeanAdapterFactory
name
- the element namepublic AbstractPropertyHandler getWildcardHandler()
BeanAdapterFactory
getWildcardHandler
in class BeanAdapterFactory
public void setWildcardHandler(AbstractPropertyHandler wildcardHandler)
BeanAdapterFactory
setWildcardHandler
in class BeanAdapterFactory
wildcardHandler
- the wildcardHandler.Copyright © 2014 JBoss by Red Hat. All rights reserved.