com.google.appengine.tools.cloudstorage.oauth
Enum XmlHandler.EventType
- java.lang.Object
-
- java.lang.Enum<XmlHandler.EventType>
-
- com.google.appengine.tools.cloudstorage.oauth.XmlHandler.EventType
-
- All Implemented Interfaces:
- Serializable, Comparable<XmlHandler.EventType>
- Enclosing class:
- XmlHandler
public static enum XmlHandler.EventType extends Enum<XmlHandler.EventType>
The type of the XmlEvent.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description CLOSE_ELEMENT
OPEN_ELEMENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static XmlHandler.EventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static XmlHandler.EventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN_ELEMENT
public static final XmlHandler.EventType OPEN_ELEMENT
-
CLOSE_ELEMENT
public static final XmlHandler.EventType CLOSE_ELEMENT
-
-
Method Detail
-
values
public static XmlHandler.EventType[] 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 (XmlHandler.EventType c : XmlHandler.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XmlHandler.EventType 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 nameNullPointerException
- if the argument is null
-
-
Copyright © 2016 Google. All rights reserved.