|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<IdTypeEnum>
sk.uniba.euromath.document.IdTypeEnum
public enum IdTypeEnum
Enumeration of ID types, depending on the node identified by the ID.
| Enum Constant Summary | |
|---|---|
ATTRIBUTE
ID identifies an attribute node. |
|
ELEMENT
ID identifies an element node. |
|
NODE
ID identifies an ordinary node (text/cdata/comment/processing instruction). |
|
| Method Summary | |
|---|---|
static IdTypeEnum |
getIdType(String id)
Returns type of ID (type of node, where this ID may point). |
boolean |
isSynthetic()
Checks if this ID is synthetic (if it had to be generated). |
static IdTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IdTypeEnum[] |
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 IdTypeEnum ELEMENT
public static final IdTypeEnum ATTRIBUTE
public static final IdTypeEnum NODE
| Method Detail |
|---|
public static final IdTypeEnum[] values()
for(IdTypeEnum c : IdTypeEnum.values())
System.out.println(c);
public static IdTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic static IdTypeEnum getIdType(String id)
id - id to check.
public boolean isSynthetic()
true if this ID is synthetic, false
if it is native.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||