source: SRUClient/tags/SRUClient-1.8.0/src/main/java/eu/clarin/sru/client/SRURecordXmlEscaping.java @ 6953

Last change on this file since 6953 was 6953, checked in by Oliver Schonefeld, 8 years ago
  • tag version 1.8.0
File size: 1.0 KB
Line 
1/**
2 * This software is copyright (c) 2012-2016 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 SRURecordXmlEscaping {
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.