JBoss XML Binding 2.0.3.GA

org.jboss.xb.spi
Class BeanAdapterFactory

java.lang.Object
  extended by org.jboss.xb.spi.BeanAdapterFactory
Direct Known Subclasses:
AbstractBeanAdapterFactory, JavaBeanFactory10, JavaBeanFactory20, WrapperBeanAdapterFactory

public abstract class BeanAdapterFactory
extends Object

BeanAdapterFactory.

Version:
$Revision: 1.1 $
Author:
Adrian Brock, Ales Justin, Alexey Loubyansky

Constructor Summary
BeanAdapterFactory()
           
 
Method Summary
 void addProperty(QName qName, AbstractPropertyHandler propertyHandler)
          Add a property
 String getAvailable()
          Get the available properties as a string
 Map<QName,AbstractPropertyHandler> getProperties()
          Get the properties
 AbstractPropertyHandler getPropertyHandler(QName qName)
          Get the property handler for an element name
 AbstractPropertyHandler getWildcardHandler()
          Get the wildcardHandler.
abstract  BeanAdapter newInstance()
          Create a new BeanAdapter
 void setWildcardHandler(AbstractPropertyHandler wildcardHandler)
          Set the wildcardHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanAdapterFactory

public BeanAdapterFactory()
Method Detail

getPropertyHandler

public AbstractPropertyHandler getPropertyHandler(QName qName)
Get the property handler for an element name

Parameters:
qName - the element name
Returns:
the property handler

getProperties

public Map<QName,AbstractPropertyHandler> getProperties()
Get the properties

Returns:
the properties

addProperty

public void addProperty(QName qName,
                        AbstractPropertyHandler propertyHandler)
Add a property

Parameters:
qName - the qName
propertyHandler - the property handler

getAvailable

public String getAvailable()
Get the available properties as a string

Returns:
the available properties

getWildcardHandler

public AbstractPropertyHandler getWildcardHandler()
Get the wildcardHandler.

Returns:
the wildcardHandler.

setWildcardHandler

public void setWildcardHandler(AbstractPropertyHandler wildcardHandler)
Set the wildcardHandler.

Parameters:
wildcardHandler - the wildcardHandler.

newInstance

public abstract BeanAdapter newInstance()
Create a new BeanAdapter

Returns:
the new bean adapter

JBoss XML Binding 2.0.3.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.