KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > tools > remote > soap > axis > ser > AxisSerializer


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package mx4j.tools.remote.soap.axis.ser;
10
11 import org.apache.axis.Constants;
12 import org.apache.axis.encoding.Serializer;
13 import org.apache.axis.wsdl.fromJava.Types;
14 import org.w3c.dom.Element JavaDoc;
15
16 /**
17  * @version $Revision: 1.4 $
18  */

19 public abstract class AxisSerializer implements Serializer
20 {
21    protected static final String JavaDoc SCHEMA_COMPLEX_TYPE = "complexType";
22    protected static final String JavaDoc SCHEMA_ALL = "all";
23    protected static final String JavaDoc SCHEMA_ELEMENT = "element";
24    protected static final String JavaDoc SCHEMA_SEQUENCE = "sequence";
25
26    public Element JavaDoc writeSchema(Class JavaDoc javaType, Types types) throws Exception JavaDoc
27    {
28       return null;
29    }
30
31    public String JavaDoc getMechanismType()
32    {
33       return Constants.AXIS_SAX;
34    }
35 }
36
Popular Tags