|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AtomMediaType>
org.apache.lucene.gdata.gom.AtomMediaType
public enum AtomMediaType
Describes an abstraction of a mime-type used to define the content of a atom:content element. This could be every possible mimetype but has to match this ".+/.+" Pattern.
| Enum Constant Summary | |
|---|---|
BINARY
A binary media type (mime-type) |
|
TEXT
A text but no xml media type (mime-type) |
|
XML
A xml media type (mime-type) |
|
| Method Summary | |
|---|---|
static AtomMediaType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AtomMediaType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AtomMediaType XML
public static final AtomMediaType TEXT
public static final AtomMediaType BINARY
| Method Detail |
|---|
public static final AtomMediaType[] values()
for(AtomMediaType c : AtomMediaType.values())
System.out.println(c);
public static AtomMediaType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||