|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.xb.binding.sunday.unmarshalling.AttributeHandler
org.jboss.xb.builder.runtime.AbstractPropertyHandler
public abstract class AbstractPropertyHandler
AbstractPropertyHandler
Field Summary | |
---|---|
protected org.jboss.logging.Logger |
log
The log |
protected boolean |
trace
Whether trace is enabled |
Fields inherited from class org.jboss.xb.binding.sunday.unmarshalling.AttributeHandler |
---|
NOOP |
Constructor Summary | |
---|---|
AbstractPropertyHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
org.jboss.reflect.spi.TypeInfo propertyType)
Create a new AbstractPropertyHandler |
Method Summary | |
---|---|
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 |
Methods inherited from class org.jboss.xb.binding.sunday.unmarshalling.AttributeHandler |
---|
unmarshal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.jboss.logging.Logger log
protected boolean trace
Constructor Detail |
---|
public AbstractPropertyHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo, org.jboss.reflect.spi.TypeInfo propertyType)
propertyInfo
- the propertypropertyType
- the property type
IllegalArgumentException
- for a null parameteersMethod Detail |
---|
public org.jboss.beans.info.spi.PropertyInfo getPropertyInfo()
public org.jboss.reflect.spi.TypeInfo getPropertyType()
public void doHandle(Object parent, Object child, QName qName)
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 qName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |