| Enum Constant and Description |
|---|
END
End tags:
</foo>. |
SELF_CLOSING
Self closing tag:
<foo/>. |
START
Start tags:
<foo>. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEndString()
Returns tags ending string.
|
java.lang.String |
getStartString()
Returns tags starting string.
|
boolean |
isEndingTag()
|
boolean |
isStartingTag()
|
static TagType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagType START
<foo>.
Void tags are reported as start tags.public static final TagType END
</foo>.public static final TagType SELF_CLOSING
<foo/>.public static TagType[] values()
for (TagType c : TagType.values()) System.out.println(c);
public static TagType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getStartString()
public java.lang.String getEndString()
public boolean isStartingTag()
public boolean isEndingTag()
Copyright © 2003-present Jodd Team