public enum EXMLSerializeBracketMode extends Enum<EXMLSerializeBracketMode> implements com.helger.commons.id.IHasID<String>
| Enum Constant and Description |
|---|
OPEN_CLOSE
Open and close tag.
|
OPEN_ONLY
Only open tag (and no closing tag).
|
SELF_CLOSED
Self closed tag.
|
| Modifier and Type | Method and Description |
|---|---|
static EXMLSerializeBracketMode |
getFromIDOrNull(String sID) |
String |
getID() |
boolean |
isOpenClose() |
boolean |
isSelfClosed() |
static EXMLSerializeBracketMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EXMLSerializeBracketMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EXMLSerializeBracketMode OPEN_CLOSE
public static final EXMLSerializeBracketMode SELF_CLOSED
public static final EXMLSerializeBracketMode OPEN_ONLY
public static EXMLSerializeBracketMode[] values()
for (EXMLSerializeBracketMode c : EXMLSerializeBracketMode.values()) System.out.println(c);
public static EXMLSerializeBracketMode 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()
getID in interface com.helger.commons.id.IHasID<String>public boolean isSelfClosed()
public boolean isOpenClose()
@Nullable public static EXMLSerializeBracketMode getFromIDOrNull(@Nullable String sID)
Copyright © 2014–2020 Philip Helger. All rights reserved.