uk.ac.ucl.cs.emofocl.jmigen.extended
Class NameConverter

java.lang.Object
  extended by uk.ac.ucl.cs.emofocl.jmigen.extended.NameConverter

public class NameConverter
extends Object

Class to convert unsafe EMOF names into Java identifiers.

Author:
James

Constructor Summary
NameConverter()
           
NameConverter(Map renames)
           
 
Method Summary
 boolean isRenamed(String unsafe)
           
 String javaName(String unsafe)
           
static Map parseRenames(InputStream input)
           
 String xMIName(String unsafe)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameConverter

public NameConverter()

NameConverter

public NameConverter(Map renames)
Method Detail

isRenamed

public boolean isRenamed(String unsafe)

javaName

public String javaName(String unsafe)

xMIName

public String xMIName(String unsafe)

parseRenames

public static Map parseRenames(InputStream input)
                        throws ParseException
Throws:
ParseException