/** The interceptor */
public static final MapEntryInterceptor INTERCEPTOR = new MapEntryInterceptor();
public void add(Object parent, Object child, QName name)
{
AbstractMapMetaData map = (AbstractMapMetaData) parent;
MapEntry entry = (MapEntry) child;
AbstractValueMetaData entryKey = (AbstractValueMetaData) entry.key;
if (entryKey == null)
throw new IllegalArgumentException("No key in map entry");
AbstractValueMetaData entryValue = (AbstractValueMetaData) entry.value;
if (entryValue == null)
throw new IllegalArgumentException("No value in map entry");
map.put((MetaDataVisitorNode) entryKey.getValue(), (MetaDataVisitorNode) entryValue.getValue());
}