Commit e6b83505 authored by Matthias Betz's avatar Matthias Betz
Browse files

Removing unused schematron check class

parent a10cd195
Pipeline #1254 passed with stage
in 1 minute and 51 seconds
/*-
* Copyright 2020 Beuth Hochschule für Technik Berlin, Hochschule für Technik Stuttgart
*
* This file is part of CityDoctor2.
*
* CityDoctor2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* CityDoctor2 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with CityDoctor2. If not, see <https://www.gnu.org/licenses/>.
*/
package de.hft.stuttgart.citydoctor2.checks.semantics;
import java.util.Collections;
import java.util.List;
import de.hft.stuttgart.citydoctor2.check.Check;
import de.hft.stuttgart.citydoctor2.check.CheckId;
import de.hft.stuttgart.citydoctor2.check.CheckType;
import de.hft.stuttgart.citydoctor2.check.Checkable;
/**
* This is only a pseudo check, Schematron is handled differently, but to have a
* check responsible for errors this class is created.
*
* @author Matthias Betz
*
*/
public class SchematronCheck extends Check {
public SchematronCheck() {
super(CheckId.C_SEM_SCHEMATRON);
}
@Override
public List<Class<? extends Checkable>> getApplicableToClasses() {
return Collections.emptyList();
}
@Override
public CheckType getType() {
return CheckType.SEMANTIC;
}
@Override
public Check createNewInstance() {
return new SchematronCheck();
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment