Package tools.refinery.language.naming
Class ProblemQualifiedNameConverter
java.lang.Object
tools.refinery.language.naming.ProblemQualifiedNameConverter
- All Implemented Interfaces:
org.eclipse.xtext.naming.IQualifiedNameConverter
public class ProblemQualifiedNameConverter
extends Object
implements org.eclipse.xtext.naming.IQualifiedNameConverter
This class is based on
IQualifiedNameConverter.DefaultImpl
, but was extended to handle quoted identifiers.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.xtext.naming.IQualifiedNameConverter
org.eclipse.xtext.naming.IQualifiedNameConverter.DefaultImpl
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.xtext.naming.QualifiedName
toQualifiedName
(String qualifiedNameAsString) Splits the given string into segments and returns them as aQualifiedName
.toString
(org.eclipse.xtext.naming.QualifiedName qualifiedName) Converts the given qualified name to a string.
-
Field Details
-
DELIMITER
- See Also:
-
-
Constructor Details
-
ProblemQualifiedNameConverter
public ProblemQualifiedNameConverter()
-
-
Method Details
-
toString
Converts the given qualified name to a string.- Specified by:
toString
in interfaceorg.eclipse.xtext.naming.IQualifiedNameConverter
- Throws:
IllegalArgumentException
- when the qualified name is null.
-
toQualifiedName
Splits the given string into segments and returns them as aQualifiedName
.- Specified by:
toQualifiedName
in interfaceorg.eclipse.xtext.naming.IQualifiedNameConverter
- Throws:
IllegalArgumentException
- if the input is empty or null or cannot be parsed.
-