|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Display>
org.htmlcleaner.Display
public enum Display
Most HTML 4 elements permitted within the BODY are classified as either block-level elements or inline elements. This enumeration contains corresponding constants to distinguish them.
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Display block
public static final Display inline
public static final Display any
public static final Display none
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic boolean isAfterTagLineBreakNeeded()
public boolean isLeadingAndEndWhitespacesAllowed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||