Enum JESTCommand.Format
- java.lang.Object
- 
- java.lang.Enum<JESTCommand.Format>
- 
- org.apache.openjpa.persistence.jest.JESTCommand.Format
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<JESTCommand.Format>
 - Enclosing interface:
- JESTCommand
 
 public static enum JESTCommand.Format extends java.lang.Enum<JESTCommand.Format> Supported format monikers.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static JESTCommand.FormatvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JESTCommand.Format[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
xmlpublic static final JESTCommand.Format xml 
 - 
jsonpublic static final JESTCommand.Format json 
 
- 
 - 
Method Detail- 
valuespublic static JESTCommand.Format[] 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 (JESTCommand.Format c : JESTCommand.Format.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static JESTCommand.Format valueOf(java.lang.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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-