57cd7ca084658f8ba2b3d1d048c5e0e62503e29d
[jalview.git] / src / vamsas / objects / simple / Alignment_Helper.java
1 /**
2  * Alignment_Helper.java
3  *
4  * This file was auto-generated from WSDL
5  * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
6  */
7
8 /*
9 * Jalview - A Sequence Alignment Editor and Viewer
10 * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
25 */
26
27 package vamsas.objects.simple;
28
29 public class Alignment_Helper {
30     // Type metadata
31     private static org.apache.axis.description.TypeDesc typeDesc =
32         new org.apache.axis.description.TypeDesc(Alignment.class, true);
33
34     static {
35         typeDesc.setXmlType(new javax.xml.namespace.QName("simple.objects.vamsas", "Alignment"));
36         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
37         elemField.setFieldName("gapchar");
38         elemField.setXmlName(new javax.xml.namespace.QName("", "gapchar"));
39         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
40         typeDesc.addFieldDesc(elemField);
41         elemField = new org.apache.axis.description.ElementDesc();
42         elemField.setFieldName("method");
43         elemField.setXmlName(new javax.xml.namespace.QName("", "method"));
44         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
45         typeDesc.addFieldDesc(elemField);
46         elemField = new org.apache.axis.description.ElementDesc();
47         elemField.setFieldName("seqs");
48         elemField.setXmlName(new javax.xml.namespace.QName("", "seqs"));
49         elemField.setXmlType(new javax.xml.namespace.QName("simple.objects.vamsas", "SequenceSet"));
50         typeDesc.addFieldDesc(elemField);
51     }
52
53     /**
54      * Return type metadata object
55      */
56     public static org.apache.axis.description.TypeDesc getTypeDesc() {
57         return typeDesc;
58     }
59
60     /**
61      * Get Custom Serializer
62      */
63     public static org.apache.axis.encoding.Serializer getSerializer(
64            java.lang.String mechType,
65            java.lang.Class _javaType,
66            javax.xml.namespace.QName _xmlType) {
67         return
68           new  org.apache.axis.encoding.ser.BeanSerializer(
69             _javaType, _xmlType, typeDesc);
70     }
71
72     /**
73      * Get Custom Deserializer
74      */
75     public static org.apache.axis.encoding.Deserializer getDeserializer(
76            java.lang.String mechType,
77            java.lang.Class _javaType,
78            javax.xml.namespace.QName _xmlType) {
79         return
80           new  org.apache.axis.encoding.ser.BeanDeserializer(
81             _javaType, _xmlType, typeDesc);
82     }
83
84 }