|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IndexSchemaField.ContentType>
org.apache.lucene.gdata.search.config.IndexSchemaField.ContentType
public static enum IndexSchemaField.ContentType
Defines the ContentStrategy
to use for a
IndexSchemaField to extract the content from the entry
Enum Constant Summary | |
---|---|
CATEGORY
Category content strategy GdataCategoryStrategy |
|
CUSTOM
Custom content strategy (user defined) |
|
GDATADATE
GDataDate content strategy GdataDateStrategy |
|
HTML
HTML content strategy HTMLStrategy |
|
KEYWORD
KEYWORD content strategy KeywordStrategy |
|
MIXED
Mixed content strategy MixedContentStrategy |
|
TEXT
Text content strategy PlainTextStrategy |
|
XHTML
XHTML content strategy XHtmlStrategy |
Method Summary | |
---|---|
static IndexSchemaField.ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IndexSchemaField.ContentType[] |
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 IndexSchemaField.ContentType HTML
HTMLStrategy
public static final IndexSchemaField.ContentType XHTML
XHtmlStrategy
public static final IndexSchemaField.ContentType TEXT
PlainTextStrategy
public static final IndexSchemaField.ContentType GDATADATE
GdataDateStrategy
public static final IndexSchemaField.ContentType KEYWORD
KeywordStrategy
public static final IndexSchemaField.ContentType CATEGORY
GdataCategoryStrategy
public static final IndexSchemaField.ContentType CUSTOM
public static final IndexSchemaField.ContentType MIXED
MixedContentStrategy
Method Detail |
---|
public static final IndexSchemaField.ContentType[] values()
for(IndexSchemaField.ContentType c : IndexSchemaField.ContentType.values()) System.out.println(c);
public static IndexSchemaField.ContentType 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 |