public enum JcrVersion extends java.lang.Enum<JcrVersion>
Enum Constant and Description |
---|
V10
Version 1.0 (JSR170)
|
V20
Version 2.0 (JSR283)
|
Modifier and Type | Method and Description |
---|---|
static JcrVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JcrVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JcrVersion V10
public static final JcrVersion V20
public static JcrVersion[] values()
for (JcrVersion c : JcrVersion.values()) System.out.println(c);
public static JcrVersion 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 namejava.lang.NullPointerException
- if the argument is nullCopyright © 2010 - 2020 Adobe. All Rights Reserved