public static enum DocumentModelResolver.MODE extends Enum<DocumentModelResolver.MODE>
Enum Constant and Description |
---|
ID_ONLY_REF
Reference is an id.
|
PATH_ONLY_REF
Reference is a path.
|
REPO_AND_ID_REF
Reference is an id prefixed with a repository.
|
REPO_AND_PATH_REF
Reference is a path prefixed with a repository.
|
Modifier and Type | Method and Description |
---|---|
static DocumentModelResolver.MODE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentModelResolver.MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentModelResolver.MODE REPO_AND_PATH_REF
public static final DocumentModelResolver.MODE REPO_AND_ID_REF
public static final DocumentModelResolver.MODE PATH_ONLY_REF
public static final DocumentModelResolver.MODE ID_ONLY_REF
public static DocumentModelResolver.MODE[] values()
for (DocumentModelResolver.MODE c : DocumentModelResolver.MODE.values()) System.out.println(c);
public static DocumentModelResolver.MODE 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 nullCopyright © 2018 Nuxeo. All rights reserved.