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