1 8 9 package mx4j.tools.remote.soap.axis.ser; 10 11 import javax.management.MBeanParameterInfo ; 12 13 import org.xml.sax.SAXException ; 14 15 18 public class MBeanParameterInfoDeser extends AxisDeserializer 19 { 20 private String name; 21 private String className; 22 private String description; 23 24 public void onSetChildValue(Object value, Object hint) throws SAXException 25 { 26 if (MBeanParameterInfoSer.NAME.equals(hint)) 27 name = (String )value; 28 else if (MBeanParameterInfoSer.CLASS_NAME.equals(hint)) 29 className = (String )value; 30 else if (MBeanParameterInfoSer.DESCRIPTION.equals(hint)) description = (String )value; 31 } 32 33 protected Object createObject() throws SAXException 34 { 35 return new MBeanParameterInfo (name, className, description); 36 } 37 } 38 | Popular Tags |