public enum EXMLSerializeComments extends Enum<EXMLSerializeComments> implements IHasID<String>
| Modifier and Type | Method and Description |
|---|---|
static EXMLSerializeComments |
getFromIDOrNull(String sID) |
String |
getID()
Get the unique ID of this object.
|
boolean |
isEmit() |
static EXMLSerializeComments |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EXMLSerializeComments[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EXMLSerializeComments EMIT
public static final EXMLSerializeComments IGNORE
public static EXMLSerializeComments[] values()
for (EXMLSerializeComments c : EXMLSerializeComments.values()) System.out.println(c);
public static EXMLSerializeComments 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 null@Nonnull @Nonempty public String getID()
IHasIDString than the
returned value must match an XML NMToken expression (so e.g. no ':' in the
ID)!public boolean isEmit()
true it emit is enabled@Nullable public static EXMLSerializeComments getFromIDOrNull(@Nullable String sID)
Copyright © 2014–2015 Philip Helger. All rights reserved.