org.jboss.javabean.plugins.jaxb
Class JavaBean

java.lang.Object
  extended by org.jboss.xb.spi.BeanAdapter
      extended by org.jboss.javabean.plugins.jaxb.JavaBean

public class JavaBean
extends org.jboss.xb.spi.BeanAdapter

JavaBean.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Constructor Summary
JavaBean(org.jboss.xb.spi.BeanAdapterFactory beanAdapterFactory)
           
 
Method Summary
 Object get(PropertyInfo propertyInfo)
           
 String getClassName()
           
 Constructor getConstructor()
           
protected  Object[] getParams(Parameter[] parameters, TypeInfo[] paramTypes)
          Get parameter values.
 Property[] getProperties()
           
protected  String[] getSignature(Parameter[] parameters)
          Get parameter types.
 Object getValue()
           
 void set(PropertyInfo propertyInfo, Object child)
           
 void setClassName(String className)
           
 void setConstructor(Constructor constructor)
           
 void setProperties(Property[] properties)
           
 
Methods inherited from class org.jboss.xb.spi.BeanAdapter
getAvailable, getPropertyHandler, getWildcardHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaBean

public JavaBean(org.jboss.xb.spi.BeanAdapterFactory beanAdapterFactory)
Method Detail

getClassName

public String getClassName()

setClassName

public void setClassName(String className)

getConstructor

public Constructor getConstructor()

setConstructor

public void setConstructor(Constructor constructor)

getProperties

public Property[] getProperties()

setProperties

public void setProperties(Property[] properties)

getValue

public Object getValue()
Specified by:
getValue in class org.jboss.xb.spi.BeanAdapter

get

public Object get(PropertyInfo propertyInfo)
           throws Throwable
Specified by:
get in class org.jboss.xb.spi.BeanAdapter
Throws:
Throwable

set

public void set(PropertyInfo propertyInfo,
                Object child)
         throws Throwable
Specified by:
set in class org.jboss.xb.spi.BeanAdapter
Throws:
Throwable

getSignature

protected String[] getSignature(Parameter[] parameters)
Get parameter types.

Parameters:
parameters - the parameters
Returns:
parameter types

getParams

protected Object[] getParams(Parameter[] parameters,
                             TypeInfo[] paramTypes)
Get parameter values.

Parameters:
parameters - the parameters
paramTypes - the types
Returns:
parameter values


Copyright © 2008 JBoss Inc.. All Rights Reserved.