org.jboss.shrinkwrap.descriptor.metadata.filter
Enum JavaKeywordsEnum

java.lang.Object
  extended by java.lang.Enum<JavaKeywordsEnum>
      extended by org.jboss.shrinkwrap.descriptor.metadata.filter.JavaKeywordsEnum
All Implemented Interfaces:
Serializable, Comparable<JavaKeywordsEnum>

public enum JavaKeywordsEnum
extends Enum<JavaKeywordsEnum>

Enum class defining all reserved Java key words. This is quite important because XSD's can use such reserved key words.

Author:
Ralf Battenfeld

Enum Constant Summary
abstract_keyword
           
assert_keyword
           
boolean_keyword
           
break_keyword
           
byte_keyword
           
case_keyword
           
catch_keyword
           
char_keyword
           
class_keyword
           
const_keyword
           
continue_keyword
           
default_keyword
           
do_keyword
           
double_keyword
           
else_keyword
           
enum_keyword
           
extends_keyword
           
final_keyword
           
finally_keyword
           
float_keyword
           
for_keyword
           
goto_keyword
           
if_keyword
           
implements_keyword
           
import_keyword
           
instanceof_keyword
           
int_keyword
           
interface_keyword
           
long_keyword
           
native_keyword
           
new_keyword
           
package_keyword
           
private_keyword
           
protected_keyword
           
public_keyword
           
return_keyword
           
short_keyword
           
static_keyword
           
strictfp_keyword
           
super_keyword
           
switch_keyword
           
synchronized_keyword
           
this_keyword
           
throw_keyword
           
throws_keyword
           
transient_keyword
           
try_keyword
           
void_keyword
           
volatile_keyword
           
while_keyword
           
 
Method Summary
 String getDescription()
           
 boolean isElementNameEqual(String elementName)
           
 boolean isJavaKeyword(String ElementName)
           
static JavaKeywordsEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JavaKeywordsEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

abstract_keyword

public static final JavaKeywordsEnum abstract_keyword

continue_keyword

public static final JavaKeywordsEnum continue_keyword

for_keyword

public static final JavaKeywordsEnum for_keyword

new_keyword

public static final JavaKeywordsEnum new_keyword

switch_keyword

public static final JavaKeywordsEnum switch_keyword

assert_keyword

public static final JavaKeywordsEnum assert_keyword

default_keyword

public static final JavaKeywordsEnum default_keyword

goto_keyword

public static final JavaKeywordsEnum goto_keyword

package_keyword

public static final JavaKeywordsEnum package_keyword

synchronized_keyword

public static final JavaKeywordsEnum synchronized_keyword

boolean_keyword

public static final JavaKeywordsEnum boolean_keyword

do_keyword

public static final JavaKeywordsEnum do_keyword

if_keyword

public static final JavaKeywordsEnum if_keyword

private_keyword

public static final JavaKeywordsEnum private_keyword

this_keyword

public static final JavaKeywordsEnum this_keyword

break_keyword

public static final JavaKeywordsEnum break_keyword

double_keyword

public static final JavaKeywordsEnum double_keyword

implements_keyword

public static final JavaKeywordsEnum implements_keyword

protected_keyword

public static final JavaKeywordsEnum protected_keyword

throw_keyword

public static final JavaKeywordsEnum throw_keyword

byte_keyword

public static final JavaKeywordsEnum byte_keyword

else_keyword

public static final JavaKeywordsEnum else_keyword

import_keyword

public static final JavaKeywordsEnum import_keyword

public_keyword

public static final JavaKeywordsEnum public_keyword

throws_keyword

public static final JavaKeywordsEnum throws_keyword

case_keyword

public static final JavaKeywordsEnum case_keyword

enum_keyword

public static final JavaKeywordsEnum enum_keyword

instanceof_keyword

public static final JavaKeywordsEnum instanceof_keyword

return_keyword

public static final JavaKeywordsEnum return_keyword

transient_keyword

public static final JavaKeywordsEnum transient_keyword

catch_keyword

public static final JavaKeywordsEnum catch_keyword

extends_keyword

public static final JavaKeywordsEnum extends_keyword

int_keyword

public static final JavaKeywordsEnum int_keyword

short_keyword

public static final JavaKeywordsEnum short_keyword

try_keyword

public static final JavaKeywordsEnum try_keyword

char_keyword

public static final JavaKeywordsEnum char_keyword

final_keyword

public static final JavaKeywordsEnum final_keyword

interface_keyword

public static final JavaKeywordsEnum interface_keyword

static_keyword

public static final JavaKeywordsEnum static_keyword

void_keyword

public static final JavaKeywordsEnum void_keyword

class_keyword

public static final JavaKeywordsEnum class_keyword

finally_keyword

public static final JavaKeywordsEnum finally_keyword

long_keyword

public static final JavaKeywordsEnum long_keyword

strictfp_keyword

public static final JavaKeywordsEnum strictfp_keyword

volatile_keyword

public static final JavaKeywordsEnum volatile_keyword

const_keyword

public static final JavaKeywordsEnum const_keyword

float_keyword

public static final JavaKeywordsEnum float_keyword

native_keyword

public static final JavaKeywordsEnum native_keyword

super_keyword

public static final JavaKeywordsEnum super_keyword

while_keyword

public static final JavaKeywordsEnum while_keyword
Method Detail

values

public static JavaKeywordsEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JavaKeywordsEnum c : JavaKeywordsEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JavaKeywordsEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getDescription

public String getDescription()

isJavaKeyword

public boolean isJavaKeyword(String ElementName)

isElementNameEqual

public boolean isElementNameEqual(String elementName)


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.