fr.umlv.tatoo.cc.common.xml
Class JavaIds

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.xml.JavaIds

public class JavaIds
extends Object

Author:
remi, julien

Constructor Summary
JavaIds()
           
 
Method Summary
static boolean validateId(String id)
          Verifies if the name is a valid id.
static boolean validatePackageName(String packageName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaIds

public JavaIds()
Method Detail

validateId

public static boolean validateId(String id)
Verifies if the name is a valid id.

Parameters:
id - the id to verify
Returns:
true if the id is a valid Java identifier.

validatePackageName

public static boolean validatePackageName(String packageName)