@@ -0,0 +1,1600 @@
+/*%0A * Copyright 2013 SFB 632.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage annis.service;%0A%0Aimport annis.model.Annotation;%0A%0A/**%0A * Interface defining the REST API calls that ANNIS provides for getting the%0A * meta data.%0A *%0A * %3Cp%3E%0A * All paths for this part of the service start with%0A * %3Cpre%3Eannis/meta/%3C/pre%3E%0A * %3C/p%3E%0A *%0A * @author Benjamin Wei%C3%9Fenfels %3Cb.pixeldrama@gmail.com%3E%0A */%0Apublic interface MetadataService%0A%7B%0A%0A  /**%0A   * Retrieves the meta data for a top level corpus.%0A   *%0A   * %3Cp%3EIf the %3Cb%3Edeep%3C/b%3E path is called, the metadata of all subcorpora and%0A   * documents are also fetched.%3C/p%3E%0A   *%0A   *%0A   * %3Ch3%3EPath(s)%3C/h3%3E%0A   *%0A   * %3Col%3E%0A   * %3Cli%3EGET annis/meta/%3Cb%3E%7Btop%7D%3C/b%3E%3C/li%3E%0A   * %3Cli%3EGET annis/meta/%3Cb%3E%7Btop%7D%3C/b%3E/deep%3C/li%3E%0A   * %3C/ol%3E%0A   *%0A   * %3Ch3%3EMIME%3C/h3%3E%0A   *%0A   * accept:%0A   * %3Ccode%3Eapplication/xml%3C/code%3E%0A   *%0A   * @param topLevelCorpus Determines the corpus, for which the annotations are%0A   * retrieved.%0A   * @return The xml representation of a list wich contains %7B@link Annotation%7D%0A   * objects.%0A   */%0A  public Annotation getMetadata(String topLevelCorpus);%0A%7D%0A

Add metadata interface.