1 8 9 package mx4j.tools.remote.soap.axis.ser; 10 11 import javax.management.AttributeList ; 12 13 import org.apache.axis.Constants; 14 import org.xml.sax.SAXException ; 15 16 19 public class AttributeListDeser extends AxisDeserializer 20 { 21 private AttributeList attributes = new AttributeList (); 22 23 public void onSetChildValue(Object value, Object hint) throws SAXException  24 { 25 if (Constants.QNAME_LITERAL_ITEM.getLocalPart().equals(hint)) attributes.add(value); 26 } 27 28 protected Object createObject() throws SAXException  29 { 30 return attributes; 31 } 32 } 33 | Popular Tags |