01: package com.jeta.forms.store.xml.parser;
02:
03: import org.xml.sax.SAXException;
04:
05: import com.jeta.forms.store.jml.dom.JMLAttributes;
06: import com.jeta.forms.store.support.PropertyMap;
07:
08: public class PropertyMapHandler extends ObjectHandler {
09:
10: /**
11: * XMLDeserializer implementation <object> <at name="keyname1">value1</at>
12: * <at name="keyname2">value2</at> <at name="keyname3">value3</at>
13: * </object>
14: */
15: public void setProperty(Object keyName, Object value,
16: JMLAttributes attribs) throws SAXException {
17: ((PropertyMap) getObject()).put(keyName, value);
18: }
19:
20: }
|