01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: 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;
15:
16: /**
17: * @version $Revision: 1.4 $
18: */
19: public abstract class AxisSerializer implements Serializer {
20: protected static final String SCHEMA_COMPLEX_TYPE = "complexType";
21: protected static final String SCHEMA_ALL = "all";
22: protected static final String SCHEMA_ELEMENT = "element";
23: protected static final String SCHEMA_SEQUENCE = "sequence";
24:
25: public Element writeSchema(Class javaType, Types types)
26: throws Exception {
27: return null;
28: }
29:
30: public String getMechanismType() {
31: return Constants.AXIS_SAX;
32: }
33: }
|