Last change
on this file since 2467 was
2467,
checked in by oschonef, 11 years ago
|
- (re-factor) rename package from "eu.clarin.sru.fcs" to "eu.clarin.sru.client.fcs"
HEADS UP: This breaks existing code! Please update your sources accordingly.
|
File size:
1.1 KB
|
Line | |
---|
1 | /** |
---|
2 | * This software is copyright (c) 2012-2013 by |
---|
3 | * - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de) |
---|
4 | * This is free software. You can redistribute it |
---|
5 | * and/or modify it under the terms described in |
---|
6 | * the GNU General Public License v3 of which you |
---|
7 | * should have received a copy. Otherwise you can download |
---|
8 | * it from |
---|
9 | * |
---|
10 | * http://www.gnu.org/licenses/gpl-3.0.txt |
---|
11 | * |
---|
12 | * @copyright Institut fuer Deutsche Sprache (http://www.ids-mannheim.de) |
---|
13 | * |
---|
14 | * @license http://www.gnu.org/licenses/gpl-3.0.txt |
---|
15 | * GNU General Public License v3 |
---|
16 | */ |
---|
17 | package eu.clarin.sru.client.fcs; |
---|
18 | |
---|
19 | /** |
---|
20 | * A generic DataView implementation that stores the content as a String. |
---|
21 | */ |
---|
22 | public class DataViewGenericString extends DataView { |
---|
23 | private final String content; |
---|
24 | |
---|
25 | |
---|
26 | protected DataViewGenericString(String type, String pid, String ref, |
---|
27 | String content) { |
---|
28 | super(type, pid, ref); |
---|
29 | this.content = content; |
---|
30 | } |
---|
31 | |
---|
32 | |
---|
33 | /** |
---|
34 | * Get DataView content. |
---|
35 | * |
---|
36 | * @return the DataView content as String. |
---|
37 | */ |
---|
38 | public String getContent() { |
---|
39 | return content; |
---|
40 | } |
---|
41 | |
---|
42 | } // class DataViewGenericString |
---|
Note: See
TracBrowser
for help on using the repository browser.