public abstract class AbstractPropertyHandler extends AttributeHandler
Modifier and Type | Field and Description |
---|---|
protected org.jboss.logging.Logger |
log
The log
|
protected boolean |
trace
Whether trace is enabled
|
NOOP
Constructor and Description |
---|
AbstractPropertyHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
org.jboss.reflect.spi.TypeInfo propertyType)
Create a new AbstractPropertyHandler
|
Modifier and Type | Method and Description |
---|---|
void |
attribute(QName elemName,
QName attrName,
AttributeBinding binding,
Object owner,
Object value) |
void |
doHandle(Object parent,
Object child,
QName qName) |
org.jboss.beans.info.spi.PropertyInfo |
getPropertyInfo()
Get the property info
|
org.jboss.reflect.spi.TypeInfo |
getPropertyType()
Get the property type
|
abstract void |
handle(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
org.jboss.reflect.spi.TypeInfo propertyType,
Object parent,
Object child,
QName qName)
Handle the property
|
unmarshal
protected final org.jboss.logging.Logger log
protected boolean trace
public AbstractPropertyHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo, org.jboss.reflect.spi.TypeInfo propertyType)
propertyInfo
- the propertypropertyType
- the property typeIllegalArgumentException
- for a null parameteerspublic org.jboss.beans.info.spi.PropertyInfo getPropertyInfo()
public org.jboss.reflect.spi.TypeInfo getPropertyType()
public void attribute(QName elemName, QName attrName, AttributeBinding binding, Object owner, Object value)
attribute
in class AttributeHandler
public abstract void handle(org.jboss.beans.info.spi.PropertyInfo propertyInfo, org.jboss.reflect.spi.TypeInfo propertyType, Object parent, Object child, QName qName)
propertyInfo
- the propertyparent
- the parentpropertyType
- the property typechild
- the childqName
- the qNameCopyright © 2014 JBoss by Red Hat. All rights reserved.