]> git.basschouten.com Git - openhab-addons.git/blob
c254c0e251ea2596ae1e98ea97935c6198bb15b3
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.deutschebahn.internal.timetable;
14
15 import java.net.URISyntaxException;
16
17 import javax.xml.bind.JAXBException;
18
19 import org.eclipse.jdt.annotation.NonNullByDefault;
20 import org.openhab.binding.deutschebahn.internal.timetable.TimetablesV1Impl.HttpCallable;
21 import org.xml.sax.SAXException;
22
23 /**
24  * Factory for {@link TimetablesV1Api}.
25  * 
26  * @author Sönke Küper - Initial contribution.
27  */
28 @NonNullByDefault
29 public interface TimetablesV1ApiFactory {
30
31     /**
32      * Creates an new instance of the {@link TimetablesV1Api}.
33      */
34     public abstract TimetablesV1Api create(final String authToken, final HttpCallable httpCallable)
35             throws JAXBException, SAXException, URISyntaxException;
36 }