1 package tableapp.business.axis; 2 3 11 12 import tableapp.business.axis.AccessSer; 13 14 import org.apache.axis.Constants; 15 import org.apache.axis.encoding.SerializerFactory; 16 17 import java.util.Iterator ; 18 import java.util.Vector ; 19 20 public class AccessSerFactory implements SerializerFactory { 21 private Vector mechanisms; 22 23 public AccessSerFactory() { 24 } 25 public javax.xml.rpc.encoding.Serializer getSerializerAs(String mechanismType) { 26 return new AccessSer(); 27 } 28 public Iterator getSupportedMechanismTypes() { 29 if (mechanisms == null) { 30 mechanisms = new Vector (); 31 mechanisms.add(Constants.AXIS_SAX); 32 } 33 return mechanisms.iterator(); 34 } 35 36 } | Popular Tags |