|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.mapping.rsem.builder.ResourceAnalyzerMappingBuilder
public class ResourceAnalyzerMappingBuilder
A builder allowing to construct a resource analyzer property mapping. Resource analyzer property mapping
allows to dynamically define the analyzer that will be used to analyzer the resource (properties that are
specificed as analyzed). The value of the analyzer property will be used to lookup a registered analyzer
within Compass. If no analyzer is found, the nullAnalyzer(String) will be used (if specified).
RSEM.analyzer(String)| Field Summary | |
|---|---|
(package private) RawResourcePropertyAnalyzerController |
mapping
|
| Constructor Summary | |
|---|---|
ResourceAnalyzerMappingBuilder(String name)
Constructs a new resource analyzer property using the provided name. |
|
| Method Summary | |
|---|---|
ResourceAnalyzerMappingBuilder |
converter(Converter converter)
Sets an actual converter that will be used to convert this property value. |
ResourceAnalyzerMappingBuilder |
converter(String converterName)
Sets the lookup converter name (registered with Compass) that will be used to convert the value of the property. |
ResourceAnalyzerMappingBuilder |
nullAnalyzer(String nullAnalyzer)
The name of the analyzer that will be used if the property has the null value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final RawResourcePropertyAnalyzerController mapping
| Constructor Detail |
|---|
public ResourceAnalyzerMappingBuilder(String name)
| Method Detail |
|---|
public ResourceAnalyzerMappingBuilder nullAnalyzer(String nullAnalyzer)
public ResourceAnalyzerMappingBuilder converter(String converterName)
public ResourceAnalyzerMappingBuilder converter(Converter converter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||