public class ValueHandler extends CharactersHandler
CharactersHandler.DefaultUnmarshalCharactersHandler, CharactersHandler.UnmarshalCharactersHandler
DEFAULT, DEFAULT_UNMARSHAL_HANDLER, NOOP, NOOP_UNMARSHAL_HANDLER, unmarshalHandler
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
org.jboss.beans.info.spi.PropertyInfo |
getPropertyInfo()
Get the property info
|
void |
setValue(QName qName,
ElementBinding element,
Object owner,
Object value) |
unmarshal, unmarshalEmpty
public ValueHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
propertyInfo
- the propertyIllegalArgumentException
- for a null parameterpublic ValueHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo, org.jboss.reflect.spi.TypeInfo valueTypeInfo)
propertyInfo
- the propertyvalueTypeInfo
- the type of the property to cast the value to before settingpublic ValueHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo, org.jboss.beans.info.spi.BeanInfo beanInfo, String property)
propertyInfo
- the propertybeanInfo
- the wrapper classproperty
- the wrapper propertyIllegalArgumentException
- for a null qName or propertypublic org.jboss.beans.info.spi.PropertyInfo getPropertyInfo()
public void setValue(QName qName, ElementBinding element, Object owner, Object value)
setValue
in class CharactersHandler
Copyright © 2014 JBoss by Red Hat. All rights reserved.