public final class ResourceType extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ResourceType.Adapter
Guarantees that any unmarshalled enum constants effectively are the constant Java instances itself, so that
== can be used form comparison. |
| Modifier and Type | Field and Description |
|---|---|
static ResourceType |
COLLECTION |
static ResourceType |
RESOURCETYPE
Singleton empty instance for use as property name only, providing improved performance and the ability to compare by same instance.
|
| Constructor and Description |
|---|
ResourceType()
Deprecated.
Since 1.2. Use
RESOURCETYPE instead to obtain a singleton empty instance. In future releases this will have private
visibility. |
ResourceType(Object... resourceTypes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
List<Object> |
getResourceType()
Deprecated.
Since 1.2 use
getResourceTypes() instead. This method will not be supported anymore in future releases. |
List<Object> |
getResourceTypes() |
int |
hashCode() |
String |
toString() |
public static final ResourceType RESOURCETYPE
public static final ResourceType COLLECTION
@Deprecated public ResourceType()
RESOURCETYPE instead to obtain a singleton empty instance. In future releases this will have private
visibility.public ResourceType(Object... resourceTypes)
@Deprecated public final List<Object> getResourceType()
getResourceTypes() instead. This method will not be supported anymore in future releases.getResourceTypes()Copyright © 2008-2014 The java.net WebDAV Project. All Rights Reserved.