1 8 9 package mx4j.tools.remote.soap.axis.ser; 10 11 import javax.management.relation.RoleUnresolved ; 12 13 import org.xml.sax.SAXException ; 14 15 18 public class RoleUnresolvedDeser extends RoleDeser 19 { 20 private int problemType; 21 22 public void onSetChildValue(Object value, Object hint) throws SAXException  23 { 24 super.onSetChildValue(value, hint); 25 if (RoleUnresolvedSer.PROBLEM_TYPE.equals(hint)) problemType = ((Integer )value).intValue(); 26 } 27 28 protected Object createObject() throws SAXException  29 { 30 return new RoleUnresolved (roleName, roleValue, problemType); 31 } 32 33 } 34 | Popular Tags |