public class XbaseQualifiedNameValueConverter extends QualifiedNameValueConverter
IValueConverter.RuleSpecific
delegateConverter, fullWildcardLiteral, valueConverterService
NO_OP_CONVERTER
Constructor and Description |
---|
XbaseQualifiedNameValueConverter() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getDelegateRuleName() |
java.lang.String |
toValue(java.lang.String string,
INode node)
Creates a value from the given input.
|
delegateToString, delegateToValue, getFullWildcardLiteral, getNamespaceDelimiter, getStringNamespaceDelimiter, getValueNamespaceDelimiter, getWildcardLiteral, isDelegateRuleCall, isWildcardLiteral, toString
protected java.lang.String getDelegateRuleName()
getDelegateRuleName
in class QualifiedNameValueConverter
public java.lang.String toValue(java.lang.String string, INode node) throws ValueConverterException
IValueConverter
Creates a value from the given input. The input is conformant to a data type or terminal rule.
The given string
or node
may be null but not both of them.
toValue
in interface IValueConverter<java.lang.String>
toValue
in class QualifiedNameValueConverter
string
- the string that was inferred from the node. Usually the node's text
but may be reduced to the parts of the node that are not
hidden
.node
- the parsed node including hidden parts.null
.ValueConverterException
- indicates that the string or node did not fulfil
the expected format.