public enum EXMLCharMode extends Enum<EXMLCharMode> implements com.helger.commons.id.IHasID<String>
| Enum Constant and Description |
|---|
ATTRIBUTE_NAME
Attribute name
|
ATTRIBUTE_VALUE_DOUBLE_QUOTES
Attribute value surrounded by double quotes
|
ATTRIBUTE_VALUE_SINGLE_QUOTES
Attribute value surrounded by single quotes
|
CDATA
CDATA content
|
ELEMENT_NAME
Element name
|
TEXT
Text content
|
| Modifier and Type | Method and Description |
|---|---|
static EXMLCharMode |
getFromIDOrNull(String sID) |
String |
getID() |
static EXMLCharMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EXMLCharMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EXMLCharMode ELEMENT_NAME
public static final EXMLCharMode ATTRIBUTE_NAME
public static final EXMLCharMode ATTRIBUTE_VALUE_DOUBLE_QUOTES
public static final EXMLCharMode ATTRIBUTE_VALUE_SINGLE_QUOTES
public static final EXMLCharMode TEXT
public static final EXMLCharMode CDATA
public static EXMLCharMode[] values()
for (EXMLCharMode c : EXMLCharMode.values()) System.out.println(c);
public static EXMLCharMode 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>@Nullable public static EXMLCharMode getFromIDOrNull(@Nullable String sID)
Copyright © 2014–2021 Philip Helger. All rights reserved.