|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PropertyFormatter
Property value formatter. This interface is used to convert property
value objects to strings. PropertyFormatters are referenced
via a "formatter" attribute on an "item" element in the indexing
output XML configuration file. Typically a PropertyFormatter
is instantiated via a nucleus component, and associated
with a name via the formatterMap on a IndexingOutputConfig
instance.
Note that the PropertyFormatter calls do not recieve a "Context"
object, since they may be invoked well after the values
have been collected.
Created: April 27 2005
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Method Summary | |
|---|---|
java.lang.String |
formatMeta(java.lang.String pPropertyName,
java.lang.String pOutputPropertyName,
atg.repository.search.indexing.specifier.PropertyTypeEnum pPropertyType,
java.lang.Object pValue)
Format the specified meta property value. |
java.lang.String |
formatText(java.lang.String pPropertyName,
java.lang.String pOutputPropertyName,
java.lang.Object pValue)
Format the specified text property value. |
| Field Detail |
|---|
static final java.lang.String CLASS_VERSION
| Method Detail |
|---|
java.lang.String formatText(java.lang.String pPropertyName,
java.lang.String pOutputPropertyName,
java.lang.Object pValue)
pPropertyName - the source name of the propertypOutputPropertyName - the output property namepValue - the property's value
java.lang.String formatMeta(java.lang.String pPropertyName,
java.lang.String pOutputPropertyName,
atg.repository.search.indexing.specifier.PropertyTypeEnum pPropertyType,
java.lang.Object pValue)
pPropertyName - the source name of the propertypOutputPropertyName - the output property namepPropertyType - the type of the meta propertypValue - the property's value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||