|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.abdera.protocol.server.TargetType
public final class TargetType
Identifies the type of resource being requests.
Field Summary | |
---|---|
static String |
CATEGORIES
|
static String |
COLLECTION
|
static String |
ENTRY
|
static String |
MEDIA
|
static String |
NOT_FOUND
|
static String |
SERVICE
|
static TargetType |
TYPE_CATEGORIES
An Atompub Categories Document |
static TargetType |
TYPE_COLLECTION
An Atom Feed Document representing an Atompub Collection |
static TargetType |
TYPE_ENTRY
An Atompub Collection member entry |
static TargetType |
TYPE_MEDIA
An Atompub Collection media resource |
static TargetType |
TYPE_NOT_FOUND
A not found target type |
static TargetType |
TYPE_SERVICE
An Atompub Service Document |
static TargetType |
TYPE_UNKNOWN
An unknown target type |
static String |
UNKNOWN
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
static TargetType |
get(String name)
Get the specified target type |
static TargetType |
get(String name,
boolean create)
Get the specified target type. |
int |
hashCode()
|
String |
name()
Return the target name |
String |
toString()
|
static Iterable<TargetType> |
values()
Return a listing of TargetTypes |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String UNKNOWN
public static final String NOT_FOUND
public static final String SERVICE
public static final String COLLECTION
public static final String ENTRY
public static final String MEDIA
public static final String CATEGORIES
public static final TargetType TYPE_UNKNOWN
public static final TargetType TYPE_NOT_FOUND
public static final TargetType TYPE_SERVICE
public static final TargetType TYPE_COLLECTION
public static final TargetType TYPE_ENTRY
public static final TargetType TYPE_MEDIA
public static final TargetType TYPE_CATEGORIES
Method Detail |
---|
public static Iterable<TargetType> values()
public static TargetType get(String name)
public static TargetType get(String name, boolean create)
public String name()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |