2 * Copyright (C) 2009 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.cdm
.ext
.common
;
11 import java
.io
.IOException
;
12 import java
.io
.InputStream
;
14 import java
.util
.List
;
16 import org
.apache
.log4j
.Logger
;
18 import eu
.etaxonomy
.cdm
.model
.common
.CdmBase
;
21 * @author a.kohlbecker
24 public abstract class SchemaAdapterBase
<T
extends CdmBase
> {
26 public static final Logger logger
= Logger
.getLogger(SchemaAdapterBase
.class);
29 * @return the identifier e.g. "info:srw/schema/1/dc-v1.1" for DublinCore
31 public abstract URI
getIdentifier();
34 * @return the shortName e.g. "dc" for DublinCore
36 public abstract String
getShortName();
42 public abstract List
<T
> getCmdEntities(InputStream inputStream
) throws IOException
;