|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.ecore.xcore.interpreter.XcoreConversionDelegate
public class XcoreConversionDelegate
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EDataType.Internal.ConversionDelegate |
---|
EDataType.Internal.ConversionDelegate.Factory |
Constructor Summary | |
---|---|
XcoreConversionDelegate()
|
Method Summary | |
---|---|
java.lang.String |
convertToString(java.lang.Object value)
Converts a value of the data type to a string literal. |
java.lang.Object |
createFromString(java.lang.String literal)
Creates a value of the data type from a string literal. |
void |
initialize(org.eclipse.xtext.xbase.XBlockExpression createBody,
org.eclipse.xtext.xbase.XBlockExpression convertBody,
EDataType eDataType,
XcoreInterpreter interpreter)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XcoreConversionDelegate()
Method Detail |
---|
public void initialize(org.eclipse.xtext.xbase.XBlockExpression createBody, org.eclipse.xtext.xbase.XBlockExpression convertBody, EDataType eDataType, XcoreInterpreter interpreter)
public java.lang.String convertToString(java.lang.Object value)
EDataType.Internal.ConversionDelegate
convertToString
in interface EDataType.Internal.ConversionDelegate
value
- the value to be converted.
public java.lang.Object createFromString(java.lang.String literal)
EDataType.Internal.ConversionDelegate
createFromString
in interface EDataType.Internal.ConversionDelegate
literal
- the string literal to be converted.
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |