01: package tableapp.business.axis;
02:
03: /**
04: * <p>Title: </p>
05: * <p>Description: </p>
06: * <p>Copyright: Copyright (c) 2005</p>
07: * <p>Company: </p>
08: * @author not attributable
09: * @version 1.0
10: */
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:
26: public javax.xml.rpc.encoding.Serializer getSerializerAs(
27: String mechanismType) {
28: return new AccessSer();
29: }
30:
31: public Iterator getSupportedMechanismTypes() {
32: if (mechanisms == null) {
33: mechanisms = new Vector();
34: mechanisms.add(Constants.AXIS_SAX);
35: }
36: return mechanisms.iterator();
37: }
38:
39: }
|