|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<TagType>
jodd.lagarto.TagType
public enum TagType
Tag type.
| Enum Constant Summary | |
|---|---|
CLOSE
Close tag: </foo>. |
|
EMPTY
Empty body tag: <foo/>. |
|
OPEN
Open tag: <foo>. |
|
| Method Summary | |
|---|---|
java.lang.String |
getEndString()
Returns tags ending string. |
java.lang.String |
getStartString()
Returns tags starting string. |
boolean |
isClosingTag()
Returns true if tag is CLOSE or EMPTY. |
boolean |
isOpeningTag()
Returns true if tag is OPEN or EMPTY. |
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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TagType OPEN
<foo>.
public static final TagType CLOSE
</foo>.
public static final TagType EMPTY
<foo/>.
| Method Detail |
|---|
public static final 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 namepublic java.lang.String getStartString()
public java.lang.String getEndString()
public boolean isOpeningTag()
true if tag is OPEN or EMPTY.
public boolean isClosingTag()
true if tag is CLOSE or EMPTY.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||