Ignore:
Timestamp:
01/12/16 21:03:47 (8 years ago)
Author:
Oliver Schonefeld
Message:
  • some steps towards SRU 2.0
File:
1 edited

Legend:

Unmodified
Added
Removed
  • SRUClient/trunk/src/main/java/eu/clarin/sru/client/SRURecordPacking.java

    r5750 r6903  
    11/**
    2  * This software is copyright (c) 2012-2014 by
     2 * This software is copyright (c) 2011-2015 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
     
    1818
    1919/**
    20  * SRU record packing
     20 * SRU 2.0 record packing.
    2121 */
    2222public enum SRURecordPacking {
    2323    /**
    24      * XML record packing
     24     * The client requests that the server should supply records strictly
     25     * according to the requested schema.
    2526     */
    26     XML {
    27         @Override
    28         String getStringValue() {
    29             return "xml";
    30         }
    31     },
     27    PACKED,
    3228
    3329    /**
    34      * String record packing
     30     * The server is free to allow the location of application data to vary
     31     * within the record.
    3532     */
    36     STRING {
    37         @Override
    38         String getStringValue() {
    39             return "string";
    40         }
    41     };
    42 
    43     abstract String getStringValue();
    44 
     33    UNPACKED
    4534} // enum SRURecordPacking
Note: See TracChangeset for help on using the changeset viewer.