org.jboss.xb.builder.runtime
Class ValueHandler
java.lang.Object
org.jboss.xb.binding.sunday.unmarshalling.CharactersHandler
org.jboss.xb.builder.runtime.ValueHandler
public class ValueHandler
- extends CharactersHandler
ValueHandler.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock
Constructor Summary |
ValueHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
Create a new AbstractPropertyHandler |
ValueHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
org.jboss.beans.info.spi.BeanInfo beanInfo,
String property)
Create a new AbstractPropertyHandler |
ValueHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
org.jboss.reflect.spi.TypeInfo valueTypeInfo)
Create a new ValueHandler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueHandler
public ValueHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
- Create a new AbstractPropertyHandler
- Parameters:
propertyInfo
- the property
- Throws:
IllegalArgumentException
- for a null parameter
ValueHandler
public ValueHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
org.jboss.reflect.spi.TypeInfo valueTypeInfo)
- Create a new ValueHandler.
- Parameters:
propertyInfo
- the propertyvalueTypeInfo
- the type of the property to cast the value to before setting
ValueHandler
public ValueHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
org.jboss.beans.info.spi.BeanInfo beanInfo,
String property)
- Create a new AbstractPropertyHandler
- Parameters:
propertyInfo
- the propertybeanInfo
- the wrapper classproperty
- the wrapper property
- Throws:
IllegalArgumentException
- for a null qName or property
getPropertyInfo
public org.jboss.beans.info.spi.PropertyInfo getPropertyInfo()
- Get the property info
- Returns:
- the property info
setValue
public void setValue(QName qName,
ElementBinding element,
Object owner,
Object value)
- Overrides:
setValue
in class CharactersHandler
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.