public static enum XmlTag.TagType extends Enum<XmlTag.TagType>
| Enum Constant and Description |
|---|
CLOSE
A close tag, like </TAG>.
|
OPEN
An open tag, like <TAG componentId = "xyz">.
|
OPEN_CLOSE
An open/close tag, like <TAG componentId = "xyz"/>.
|
| Modifier and Type | Method and Description |
|---|---|
static XmlTag.TagType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlTag.TagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlTag.TagType CLOSE
public static final XmlTag.TagType OPEN
public static final XmlTag.TagType OPEN_CLOSE
public static XmlTag.TagType[] values()
for (XmlTag.TagType c : XmlTag.TagType.values()) System.out.println(c);
public static XmlTag.TagType 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 nullCopyright © 2006–2021 Apache Software Foundation. All rights reserved.