KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis > wsdl > symbolTable > MimeInfo


1 /*
2  * Copyright 2001-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.axis.wsdl.symbolTable;
17
18 /**
19  * Class MimeInfo
20  *
21  * @version %I%, %G%
22  */

23 public class MimeInfo {
24
25     /** Field type */
26     String JavaDoc type;
27
28     /** Field dims */
29     String JavaDoc dims;
30
31     /**
32      * Constructor MimeInfo
33      *
34      * @param type
35      * @param dims
36      */

37     public MimeInfo(String JavaDoc type, String JavaDoc dims) {
38         this.type = type;
39         this.dims = dims;
40     }
41
42     /**
43      * Method getDimensions
44      *
45      * @return
46      */

47     public String JavaDoc getDimensions() {
48         return this.dims;
49     }
50
51     /**
52      * Method getType
53      *
54      * @return
55      */

56     public String JavaDoc getType() {
57         return this.type;
58     }
59
60     /**
61      * Method toString
62      *
63      * @return
64      */

65     public String JavaDoc toString() {
66         return "(" + type + "," + dims + ")";
67     }
68 }
69
Popular Tags