Changeset 6934 for SRUServer


Ignore:
Timestamp:
02/03/16 22:00:32 (8 years ago)
Author:
Oliver Schonefeld
Message:
Location:
SRUServer/trunk/src/main/java/eu/clarin/sru/server
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/CQLQueryParser.java

    r6842 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUAbstractResult.java

    r5924 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUConfigException.java

    r2623 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUConstants.java

    r6842 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUDiagnostic.java

    r6816 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUDiagnosticList.java

    r5924 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUException.java

    r5924 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUExplainResult.java

    r2623 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUNamespaces.java

    r6779 r6934  
     1/**
     2 * This software is copyright (c) 2011-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 */
    117package eu.clarin.sru.server;
    218
     19/**
     20 * Interface for decoupling SRU namespaces from implementation to allow to
     21 * support SRU 1.1/1.2 and SRU 2.0.
     22 */
    323public interface SRUNamespaces {
    424
     25    /**
     26     * The namespace URI for encoding <em>explain</em> and
     27     * <em>searchRetrieve</em> operation responses.
     28     *
     29     * @return the namespace URI for encoding <em>explain</em> and
     30     *         <em>searchRetrieve</em>
     31     */
    532    public String getResponseNS();
    633
    734
     35    /**
     36     * The namespace prefix for encoding <em>explain</em> and
     37     * <em>searchRetrieve</em> operation responses.
     38     *
     39     * @return the namespace prefix for encoding <em>explain</em> and
     40     *         <em>searchRetrieve</em>
     41     */
    842    public String getResponsePrefix();
    943
    1044
     45    /**
     46     * The namespace URI for encoding <em>scan</em> operation responses.
     47     *
     48     * @return the namespace URI for encoding <em>scan</em>
     49     */
    1150    public String getScanNS();
    1251
    1352
     53    /**
     54     * The namespace prefix for encoding <em>scan</em> operation responses.
     55     *
     56     * @return the namespace prefix for encoding <em>scan</em>
     57     */
    1458    public String getScanPrefix();
    1559
    16    
     60
     61    /**
     62     * The namespace URI for encoding SRU diagnostics.
     63     *
     64     * @return the namespace URI for encoding SRU diagnostics
     65     */
    1766    public String getDiagnosticNS();
    1867
    1968
     69    /**
     70     * The namespace prefix for encoding SRU diagnostics.
     71     *
     72     * @return the namespace prefix for encoding SRU diagnostics
     73     */
    2074    public String getDiagnosticPrefix();
    2175
    2276
     77    /**
     78     * The namespace URI for encoding explain record data fragments.
     79     *
     80     * @return the namespace URI for encoding explain record data fragments
     81     */
    2382    public String getExplainNS();
    2483
    2584
     85    /**
     86     * The namespace prefix for encoding explain record data fragments.
     87     *
     88     * @return the namespace prefix for encoding explain record data fragments
     89     */
    2690    public String getExplainPrefix();
    2791
    2892
     93    /**
     94     * The namespace URI for encoding XCQL fragments
     95     *
     96     * @return the namespace URI for encoding XCQL fragments
     97     */
    2998    public String getXcqlNS();
    3099
    31 } // interface SRUNamespace
     100} // interface SRUNamespaces
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUOperation.java

    r2623 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUQuery.java

    r6821 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUQueryBase.java

    r6842 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
     
    1717package eu.clarin.sru.server;
    1818
     19/**
     20 * Base class for implementing for a parsed query to be returned from a
     21 * {@link SRUQueryParser}.
     22 *
     23 * @param <T>
     24 *            abstract syntax tree (object) for parsed queries.
     25 */
    1926public abstract class SRUQueryBase<T> implements SRUQuery<T> {
    2027    protected final String rawQuery;
     
    2229
    2330
     31    /**
     32     * Constructor.
     33     *
     34     * @param rawQuery
     35     *            the raw and unparsed query as String
     36     * @param parsedQuery
     37     *            the query parsed into an abstract syntax tree object
     38     */
    2439    protected SRUQueryBase(String rawQuery, T parsedQuery) {
    2540        if (rawQuery == null) {
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUQueryParser.java

    r6842 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUQueryParserRegistry.java

    r6848 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
     
    128128         * @param parser
    129129         *            the query parser instance to be registered
     130         * @return this {@link Builder} instance (to allow chaining)
    130131         * @throws SRUConfigException
    131132         *             if a query parser for the same query type was already
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRURecordPacking.java

    r6816 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRURecordXmlEscaping.java

    r6816 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 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 XML escaping.
     20 * SRU Record XML escaping (or record packing in SRU 1.2).
    2121 */
    2222public enum SRURecordXmlEscaping {
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRURenderBy.java

    r6816 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRURequest.java

    r6851 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
     
    117117     *
    118118     * @param type
    119      *            Class representing the Java data type to convert the query to.
     119     *            Class representing the return type to convert the query to
     120     * @param <T>
     121     *            Class of the returned type
    120122     * @return an {@link SRUQuery} instance tailored for the used queryType or
    121123     *         <code>null</code> if not a <em>searchRetrieve</em> request
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRURequestImpl.java

    r6896 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUResultCountPrecision.java

    r6816 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUScanResultSet.java

    r5520 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUSearchEngine.java

    r2623 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUSearchResultSet.java

    r6816 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUServer.java

    r6900 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUServerConfig.java

    r6825 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
     
    14081408    }
    14091409
    1410 } // class SRUEndpointConfig
     1410} // class SRUServerConfig
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUVersion.java

    r6779 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUXMLStreamWriter.java

    r6816 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SearchTermsQueryParser.java

    r6844 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/utils/SRUSearchEngineBase.java

    r6848 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/utils/SRUServerServlet.java

    r6848 r6934  
    11/**
    2  * This software is copyright (c) 2011-2013 by
     2 * This software is copyright (c) 2011-2016 by
    33 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
    44 * This is free software. You can redistribute it
Note: See TracChangeset for help on using the changeset viewer.