Serializable
, Comparable<Display>
public enum Display extends Enum<Display>
Enum Constant | Description |
---|---|
any |
The following elements may be used as either block-level elements or
inline elements.
|
block |
Block-level elements typically contain inline elements and other
block-level elements.
|
inline |
Inline elements typically may only contain text and other inline
elements.
|
none |
Elements that are not actually inline or block, usually such elements are
not rendered at all.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
isAfterTagLineBreakNeeded() |
|
boolean |
isLeadingAndEndWhitespacesAllowed() |
|
static Display |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Display[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Display block
public static final Display inline
public static final Display any
public static final Display none
public static Display[] values()
for (Display c : Display.values()) System.out.println(c);
public static Display 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 isAfterTagLineBreakNeeded()
public boolean isLeadingAndEndWhitespacesAllowed()
Copyright © 2006–2018. All rights reserved.