public static enum DavPrincipal.PrincipalType extends Enum<DavPrincipal.PrincipalType>
| Enum Constant and Description |
|---|
HREF
Principal is a String reference to an existing principal (url)
|
KEY
Principal is String as one of the special values: all, authenticated, unauthenticated, self
|
PROPERTY
Principal is QNAME referencing a property (eg: DAV::owner, custom:someGroupId) that itself contains a href to
an existing principal
|
| Modifier and Type | Method and Description |
|---|---|
static DavPrincipal.PrincipalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DavPrincipal.PrincipalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DavPrincipal.PrincipalType HREF
public static final DavPrincipal.PrincipalType KEY
public static final DavPrincipal.PrincipalType PROPERTY
public static DavPrincipal.PrincipalType[] values()
for (DavPrincipal.PrincipalType c : DavPrincipal.PrincipalType.values()) System.out.println(c);
public static DavPrincipal.PrincipalType 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 © 2014. All rights reserved.