Static Public Member Functions

org.exolab.javasource.JNaming Class Reference

List of all members.

Static Public Member Functions

static boolean isKeyword (String name)
static boolean isValidJavaIdentifier (String string)

Detailed Description

A utility class used to validate identifiers and class names

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:56

Member Function Documentation

static boolean org.exolab.javasource.JNaming.isKeyword ( String  name  )  [static]

Returns true if the given String is a Java keyword which will cause a problem when used as a variable name

Referenced by org.exolab.javasource.JNaming.isValidJavaIdentifier().

static boolean org.exolab.javasource.JNaming.isValidJavaIdentifier ( String  string  )  [static]

Returns true if the given String matches the production of a valid Java identifier

Parameters:
string,the String to check the production of
Returns:
true if the given String matches the production of a valid Java name, otherwise false

References org.exolab.javasource.JNaming.isKeyword().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties