org.jboss.xb.builder.runtime
Class MapPropertyHandler
java.lang.Object
org.jboss.xb.binding.sunday.unmarshalling.AttributeHandler
org.jboss.xb.builder.runtime.AbstractPropertyHandler
org.jboss.xb.builder.runtime.MapPropertyHandler
public class MapPropertyHandler
- extends AbstractPropertyHandler
MapPropertyHandler.
- Version:
- $Revision: 1.1 $
- Author:
- Alexey Loubyansky, Ales Justin
|
Constructor Summary |
MapPropertyHandler(org.jboss.config.spi.Configuration config,
org.jboss.beans.info.spi.PropertyInfo propertyInfo,
org.jboss.reflect.spi.TypeInfo propertyType,
boolean wrapped)
Create a new MapPropertyHandler. |
|
Method Summary |
protected void |
checkPut(Map<Object,Object> map,
Object key,
Object value)
Check values before they are put into map. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapPropertyHandler
public MapPropertyHandler(org.jboss.config.spi.Configuration config,
org.jboss.beans.info.spi.PropertyInfo propertyInfo,
org.jboss.reflect.spi.TypeInfo propertyType,
boolean wrapped)
- Create a new MapPropertyHandler.
- Parameters:
config - the configurationpropertyInfo - the propertypropertyType - the property typewrapped - the wrapped flag
- Throws:
IllegalArgumentException - for a null qName or property
handle
public void handle(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
org.jboss.reflect.spi.TypeInfo propertyType,
Object parent,
Object child,
QName qName)
- Description copied from class:
AbstractPropertyHandler
- Handle the property
- Specified by:
handle in class AbstractPropertyHandler
- Parameters:
propertyInfo - the propertypropertyType - the property typeparent - the parentchild - the childqName - the qName
checkPut
protected void checkPut(Map<Object,Object> map,
Object key,
Object value)
- Check values before they are put into map.
- Parameters:
map - the mapkey - the keyvalue - the value
Copyright © 2009 JBoss Inc.. All Rights Reserved.