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