source: SRUClient/trunk/src/main/java/eu/clarin/sru/client/SRURecordPacking.java @ 2466

Last change on this file since 2466 was 2466, checked in by oschonef, 11 years ago
  • update copyright (2/2)
File size: 1.0 KB
Line 
1/**
2 * This software is copyright (c) 2011-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 */
17package eu.clarin.sru.client;
18
19/**
20 * SRU record packing
21 */
22public enum SRURecordPacking {
23    /**
24     * XML record packing
25     */
26    XML {
27        @Override
28        String getStringValue() {
29            return "xml";
30        }
31    },
32
33    /**
34     * String record packing
35     */
36    STRING {
37        @Override
38        String getStringValue() {
39            return "string";
40        }
41    };
42
43    abstract String getStringValue();
44
45} // enum SRURecordPacking
Note: See TracBrowser for help on using the repository browser.