Enum PListParser.ElementType
- java.lang.Object
-
- java.lang.Enum<PListParser.ElementType>
-
- com.github.markusbernhardt.proxy.util.PListParser.ElementType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PListParser.ElementType>
- Enclosing class:
- PListParser
private static enum PListParser.ElementType extends java.lang.Enum<PListParser.ElementType>
All element types possible for a plist.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ElementType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PListParser.ElementType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PListParser.ElementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final PListParser.ElementType INTEGER
-
STRING
public static final PListParser.ElementType STRING
-
REAL
public static final PListParser.ElementType REAL
-
DATA
public static final PListParser.ElementType DATA
-
DATE
public static final PListParser.ElementType DATE
-
DICT
public static final PListParser.ElementType DICT
-
ARRAY
public static final PListParser.ElementType ARRAY
-
TRUE
public static final PListParser.ElementType TRUE
-
FALSE
public static final PListParser.ElementType FALSE
-
-
Method Detail
-
values
public static PListParser.ElementType[] 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 (PListParser.ElementType c : PListParser.ElementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PListParser.ElementType 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 namejava.lang.NullPointerException
- if the argument is null
-
-