public enum CloseTag extends Enum<CloseTag>
Enum Constant and Description |
---|
forbidden
|
optional
or
is permitted |
required
is required.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEndTagPermitted() |
boolean |
isMinimizedTagPermitted() |
static CloseTag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloseTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloseTag required
public static final CloseTag optional
public static final CloseTag forbidden
public static CloseTag[] values()
for (CloseTag c : CloseTag.values()) System.out.println(c);
public static CloseTag 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 nullpublic boolean isMinimizedTagPermitted()
public boolean isEndTagPermitted()
Copyright © 2006–2018. All rights reserved.