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: import org.apache.axis.Constants;
12: import org.apache.axis.encoding.DeserializerFactory;
13:
14: import java.util.Iterator;
15: import java.util.Vector;
16:
17: public class AccessDeserFactory implements DeserializerFactory {
18: private Vector mechanisms;
19:
20: public AccessDeserFactory() {
21: }
22:
23: public javax.xml.rpc.encoding.Deserializer getDeserializerAs(
24: String mechanismType) {
25: return new AccessDeser();
26: }
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: }
|