Class UIDtoStringConverter
java.lang.Object
org.openhab.core.model.thing.valueconverter.UIDtoStringConverter
- All Implemented Interfaces:
 org.eclipse.xtext.conversion.IValueConverter<String>
public class UIDtoStringConverter
extends Object
implements org.eclipse.xtext.conversion.IValueConverter<String>
A 
UIDtoStringConverter is used to create UID string
 representations from an input string and vice versa. If a segment of the
 parsed UID string doesn't match the ID rule, it will be escaped.- Author:
 - Alex Tugarev - Initial contribution
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.xtext.conversion.IValueConverter
org.eclipse.xtext.conversion.IValueConverter.RuleSpecific - 
Field Summary
Fields inherited from interface org.eclipse.xtext.conversion.IValueConverter
NO_OP_CONVERTER - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
UIDtoStringConverter
public UIDtoStringConverter() 
 - 
 - 
Method Details
- 
toValue
public String toValue(String string, org.eclipse.xtext.nodemodel.INode node) throws org.eclipse.xtext.conversion.ValueConverterException - Specified by:
 toValuein interfaceorg.eclipse.xtext.conversion.IValueConverter<String>- Throws:
 org.eclipse.xtext.conversion.ValueConverterException
 - 
toString
- Specified by:
 toStringin interfaceorg.eclipse.xtext.conversion.IValueConverter<String>- Throws:
 org.eclipse.xtext.conversion.ValueConverterException
 - 
toEscapedString
 
 -