public enum AttributeName extends Enum<AttributeName>
     ScriptingContainer container = new ScriptingContainer();
     container.setAttribute(AttributeName.BASE_DIR, System.getProperty("user.dir");| Enum Constant and Description | 
|---|
| BASE_DIRA key used in an attribute map to set a base directory. | 
| CLEAR_VARAIBLESA key used in an attribute map to turn on/off clearing variables. | 
| ERROR_WRITERA key used in an attribute map to set an error writer. | 
| LINENUMBERA key used in an attribute map to set a line number in error message. | 
| READERA key used in an attribute map to set a reader. | 
| RECEIVERA key used in an attribute map to set a receiver object for sharing variables. | 
| SHARING_VARIABLESA key used in an attribute map to turn on/off sharing variable feature. | 
| TERMINATIONA key used in an attribute map to turn on/off termination. | 
| UNICODE_ESCAPEA key used in an attribute map to specify that the script to be parsed has
 unicode escape in it. | 
| WRITERA key used in an attribute map to set a writer. | 
| Modifier and Type | Method and Description | 
|---|---|
| static AttributeName | getType(String fqpn)Returns a fully qualified attribute name that corresponds to a given
 enumerated type identifier. | 
| String | toString()Returns the fully qualified attribute name of this enum constant. | 
| static AttributeName | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static AttributeName[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AttributeName READER
public static final AttributeName WRITER
public static final AttributeName ERROR_WRITER
public static final AttributeName BASE_DIR
public static final AttributeName LINENUMBER
public static final AttributeName UNICODE_ESCAPE
public static final AttributeName SHARING_VARIABLES
public static final AttributeName CLEAR_VARAIBLES
public static final AttributeName TERMINATION
public static final AttributeName RECEIVER
public static AttributeName[] values()
for (AttributeName c : AttributeName.values()) System.out.println(c);
public static AttributeName valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<AttributeName>public static AttributeName getType(String fqpn)
fqan - fully qualified attribute nameCopyright © 2001-2015 JRuby. All Rights Reserved.