1 8 9 package mx4j.tools.remote.soap.axis.ser; 10 11 import javax.management.relation.RoleList ; 12 import javax.management.relation.RoleResult ; 13 import javax.management.relation.RoleUnresolvedList ; 14 15 import org.xml.sax.SAXException ; 16 17 20 public class RoleResultDeser extends AxisDeserializer 21 { 22 private RoleList roleList; 23 private RoleUnresolvedList roleUnresolvedList; 24 25 protected void onSetChildValue(Object value, Object hint) throws SAXException 26 { 27 if (RoleResultSer.ROLE_LIST.equals(hint)) 28 roleList = (RoleList )value; 29 if (RoleResultSer.ROLE_UNRESOLVED_LIST.equals(hint)) 30 roleUnresolvedList = (RoleUnresolvedList )value; 31 } 32 33 protected Object createObject() throws SAXException 34 { 35 return new RoleResult (roleList, roleUnresolvedList); 36 } 37 38 } 39 | Popular Tags |