|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.util.A_CmsModeIntEnumeration
org.opencms.search.fields.CmsSearchFieldMappingType
public final class CmsSearchFieldMappingType
Describes a possible mapping type for a piece of content used in building a search index.
The mapping type is reponsible to select which content from the OpenCms resource is used for a field.
Field Summary | |
---|---|
static CmsSearchFieldMappingType |
CONTENT
The "content" mapping type, maps the content of the resource (no parameters required). |
static CmsSearchFieldMappingType |
ITEM
The "item" mapping type, maps the selected content item of the content. |
static CmsSearchFieldMappingType |
PROPERTY
The "property" mapping type, maps the selected property value of the resource. |
static CmsSearchFieldMappingType |
PROPERTY_SEARCH
The "property-search" mapping type, maps the selected property value of the resource with search upwards. |
static CmsSearchFieldMappingType |
XPATH
The "xpath" mapping type, only for CmsXmlContent resources, maps the content from the given Xpath. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static CmsSearchFieldMappingType |
valueOf(java.lang.String value)
Returns the matching field mapping type, or null if the given value is
not a valid mapping type name. |
Methods inherited from class org.opencms.util.A_CmsModeIntEnumeration |
---|
equals, getMode, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final CmsSearchFieldMappingType CONTENT
public static final CmsSearchFieldMappingType ITEM
public static final CmsSearchFieldMappingType PROPERTY
public static final CmsSearchFieldMappingType PROPERTY_SEARCH
public static final CmsSearchFieldMappingType XPATH
CmsXmlContent
resources, maps the content from the given Xpath.
Method Detail |
---|
public static CmsSearchFieldMappingType valueOf(java.lang.String value)
null
if the given value is
not a valid mapping type name.
value
- the name of the mapping type
public java.lang.String toString()
toString
in class A_CmsModeIntEnumeration
A_CmsModeIntEnumeration.toString()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |