blob: a005aa8c2f7201875b03070be230112f5877ccf8 [file] [log] [blame]
/*
* Copyright (c) 2020 Kentyou.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Kentyou - initial API and implementation
*/
package org.eclipse.sensinact.gateway.generic.parser;
import org.eclipse.sensinact.gateway.common.bundle.Mediator;
import org.xml.sax.Attributes;
/**
*
* @author <a href="mailto:christophe.munilla@cea.fr">Christophe Munilla</a>
*/
public class GenericNameTypeValueDefinition extends NameTypeValueDefinition<String> {
/**
* Constructor
*
* @param mediator the {@link Mediator} allowing the GenericNameTypeValueDefinition
* to be instantiated to interact with the OSGi host environment
* @param atts the {@link Attributes} data structure of the associated XML node
*/
GenericNameTypeValueDefinition(Mediator mediator, Attributes atts) {
super(mediator, atts);
}
/**
* Sets the canonical name of the Type specified
* by the associated xml tag element
*
* @param type the canonical name of the Type specified
* by the associated xml tag element
*/
public void setType(String type) {
super.type = type;
}
}