|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<EntityReference.EntityType>
org.xwiki.gwt.wysiwyg.client.wiki.EntityReference.EntityType
public static enum EntityReference.EntityType
Represents a type of entity that can be referenced from the client.
| Enum Constant Summary | |
|---|---|
ATTACHMENT
Represents an Attachment Entity. |
|
DOCUMENT
Represents a Document Entity. |
|
EXTERNAL
Represents an external entity, usually identified by an URI. |
|
| Method Summary | |
|---|---|
static boolean |
areEqual(EntityReference.EntityType expected,
EntityReference.EntityType actual)
|
static EntityReference.EntityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EntityReference.EntityType[] |
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 EntityReference.EntityType DOCUMENT
public static final EntityReference.EntityType ATTACHMENT
public static final EntityReference.EntityType EXTERNAL
| Method Detail |
|---|
public static final EntityReference.EntityType[] values()
for(EntityReference.EntityType c : EntityReference.EntityType.values())
System.out.println(c);
public static EntityReference.EntityType 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 name
public static boolean areEqual(EntityReference.EntityType expected,
EntityReference.EntityType actual)
expected - the expected typeactual - the actual type
true if the given types are equal, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||