org.compass.core.mapping
Interface ResourceAnalyzerController

All Superinterfaces:
Mapping
All Known Implementing Classes:
ClassPropertyAnalyzerController, JsonPropertyAnalyzerController, RawResourcePropertyAnalyzerController, XmlPropertyAnalyzerController

public interface ResourceAnalyzerController
extends Mapping

A property of a Resource that controlls the analyzer that will be used in conjuction with the resource. The controller provides the property name, which value will define the analyzer used. Also, a null analyzer can be provided in case the property has no value.

Author:
kimchy

Method Summary
 String getAnalyzerResourcePropertyName()
          Returns the name of the Resource Property which value will control the analyzer to be used for the resource.
 String getNullAnalyzer()
          Returns the name of the analyzer to be used in case the Resource Property value is null.
 boolean hasNullAnalyzer()
          Returns true if the controller has a null analyzer configured.
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath
 

Method Detail

getAnalyzerResourcePropertyName

String getAnalyzerResourcePropertyName()
Returns the name of the Resource Property which value will control the analyzer to be used for the resource.


getNullAnalyzer

String getNullAnalyzer()
Returns the name of the analyzer to be used in case the Resource Property value is null.


hasNullAnalyzer

boolean hasNullAnalyzer()
Returns true if the controller has a null analyzer configured.



Copyright (c) 2004-2009 The Compass Project.