2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.yamahareceiver.internal.protocol.xml;
15 import java.util.function.Supplier;
17 import org.openhab.binding.yamahareceiver.internal.YamahaReceiverBindingConstants.Zone;
18 import org.openhab.binding.yamahareceiver.internal.protocol.AbstractConnection;
19 import org.openhab.binding.yamahareceiver.internal.protocol.InputConverter;
20 import org.openhab.binding.yamahareceiver.internal.state.AvailableInputStateListener;
21 import org.slf4j.LoggerFactory;
24 * Special case of {@link ZoneAvailableInputsXML} that emulates Zone_2 for Yamaha HTR-xxx using Zone_B features.
26 * @author Tomasz Maruszak - Initial contribution.
28 public class ZoneBAvailableInputsXML extends ZoneAvailableInputsXML {
30 public ZoneBAvailableInputsXML(AbstractConnection con, AvailableInputStateListener observer,
31 Supplier<InputConverter> inputConverterSupplier) {
32 super(con, Zone.Main_Zone, observer, inputConverterSupplier);
33 this.logger = LoggerFactory.getLogger(ZoneBAvailableInputsXML.class);
37 public Zone getZone() {