Package com.helger.xml.microdom
Enum EMicroEvent
- java.lang.Object
-
- java.lang.Enum<EMicroEvent>
-
- com.helger.xml.microdom.EMicroEvent
-
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,Serializable,Comparable<EMicroEvent>
public enum EMicroEvent extends Enum<EMicroEvent> implements com.helger.commons.id.IHasID<String>
All available micro DOM events.- Author:
- Philip Helger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NODE_INSERTEDNODE_REMOVED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EMicroEventgetFromIDOrNull(String sID)StringgetID()static EMicroEventvalueOf(String name)Returns the enum constant of this type with the specified name.static EMicroEvent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NODE_INSERTED
public static final EMicroEvent NODE_INSERTED
-
NODE_REMOVED
public static final EMicroEvent NODE_REMOVED
-
-
Method Detail
-
values
public static EMicroEvent[] 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 (EMicroEvent c : EMicroEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EMicroEvent 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
-
getID
@Nonnull @Nonempty public String getID()
- Specified by:
getIDin interfacecom.helger.commons.id.IHasID<String>
-
getFromIDOrNull
@Nullable public static EMicroEvent getFromIDOrNull(@Nullable String sID)
-
-