org.compass.core.mapping
Interface ResourceAnalyzerController

All Known Implementing Classes:
ClassPropertyAnalyzerController, RawResourcePropertyAnalyzerController, XmlPropertyAnalyzerController

public interface ResourceAnalyzerController

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.
 

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-2008 The Compass Project.