public static enum EntityReference.EntityType extends Enum<EntityReference.EntityType>
| Enum Constant and Description |
|---|
ATTACHMENT
Represents an Attachment Entity.
|
DOCUMENT
Represents a Document Entity.
|
EXTERNAL
Represents an external entity, usually identified by an URI.
|
SPACE
Represents a Space Entity.
|
WIKI
Represents a Wiki Entity.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areEqual(EntityReference.EntityType expected,
EntityReference.EntityType actual) |
static EntityReference.EntityType |
valueOf(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 are declared.
|
public static final EntityReference.EntityType WIKI
public static final EntityReference.EntityType SPACE
public static final EntityReference.EntityType DOCUMENT
public static final EntityReference.EntityType ATTACHMENT
public static final EntityReference.EntityType EXTERNAL
public static EntityReference.EntityType[] values()
for (EntityReference.EntityType c : EntityReference.EntityType.values()) System.out.println(c);
public static EntityReference.EntityType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static boolean areEqual(EntityReference.EntityType expected, EntityReference.EntityType actual)
expected - the expected typeactual - the actual typetrue if the given types are equal, false otherwiseCopyright © 2004–2014 XWiki. All rights reserved.