comparison WebServiceToolWorkflow/ParserForWADL/src/lsdis/Doc.java @ 0:d5cd409b8a18 default tip

Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author ganjoo
date Tue, 07 Jun 2011 18:00:50 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:d5cd409b8a18
1 /*
2 * Copyright (c) 2009 Srikalyan Swayampakula.. All rights reserved.
3 *
4 * Author : Srikalyan Swayampakula. .
5 * Name of the File : Doc.java .
6 * Created on : Nov 22, 2009 at 3:29:12 PM .
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 *
12 * 1. Redistributions of source code must retain the above
13 * copyright notice, this list of conditions and the following
14 * disclaimer.
15 * 2. Redistributions in binary form must reproduce the above
16 * copyright notice, this list of conditions and the following
17 * disclaimer in the documentation and/or other materials
18 * provided with the distribution.
19 * 3. Neither the name of the University of Georgia nor the names
20 * of its contributors may be used to endorse or promote
21 * products derived from this software without specific prior
22 * written permission.
23 *
24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
25 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
26 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
27 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
29 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
31 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
32 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
35 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
36 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 */
38 package lsdis;
39
40 /**
41 *
42 * @author Srikalyan Swayampakula.
43 */
44 public class Doc
45 {
46
47 private String title;
48 private String lang;
49 private String innerText;
50
51 public Doc()
52 {
53 }
54
55 public Doc(String title, String lang, String innerText)
56 {
57 this.title = title;
58 this.lang = lang;
59 this.innerText = innerText;
60 }
61
62 public String getLang()
63 {
64 return lang;
65 }
66
67 public void setLang(String lang)
68 {
69 this.lang = lang;
70 }
71
72 public String getTitle()
73 {
74 return title;
75 }
76
77 public void setTitle(String title)
78 {
79 this.title = title;
80 }
81
82 public String getInnerText()
83 {
84 return innerText;
85 }
86
87 public void setInnerText(String innerText)
88 {
89 this.innerText = innerText;
90 }
91 }