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