KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > tableapp > business > axis > AccessDeserFactory


1 package tableapp.business.axis;
2
3 /**
4  * <p>Title: </p>
5  * <p>Description: </p>
6  * <p>Copyright: Copyright (c) 2005</p>
7  * <p>Company: </p>
8  * @author not attributable
9  * @version 1.0
10  */

11 import org.apache.axis.Constants;
12 import org.apache.axis.encoding.DeserializerFactory;
13
14 import java.util.Iterator JavaDoc;
15 import java.util.Vector JavaDoc;
16
17 public class AccessDeserFactory
18     implements DeserializerFactory {
19   private Vector JavaDoc mechanisms;
20
21   public AccessDeserFactory() {
22   }
23
24   public javax.xml.rpc.encoding.Deserializer JavaDoc getDeserializerAs(String JavaDoc
25       mechanismType) {
26     return new AccessDeser();
27   }
28
29   public Iterator JavaDoc getSupportedMechanismTypes() {
30     if (mechanisms == null) {
31       mechanisms = new Vector JavaDoc();
32       mechanisms.add(Constants.AXIS_SAX);
33     }
34     return mechanisms.iterator();
35   }
36
37 }
Popular Tags