public abstract class AbstractAnalyzer extends org.apache.lucene.analysis.Analyzer implements Analyzer
It handles properly the logging and configuring methods. For configuration, it does nothing.
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.avalon.framework.logger.Logger |
logger
Avalon super.getLog() to write information.
|
| Constructor and Description |
|---|
AbstractAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Configures this analyzer, currently has no function, only in its subclasses.
|
void |
enableLogging(org.apache.avalon.framework.logger.Logger logger)
Sets the super.getLog().
|
protected abstract java.lang.String |
getAnalyzerType() |
void |
toSAX(org.xml.sax.ContentHandler handler) |
getPositionIncrementGap, tokenStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittokenStream, tokenStreamprotected transient org.apache.avalon.framework.logger.Logger logger
protected abstract java.lang.String getAnalyzerType()
public void enableLogging(org.apache.avalon.framework.logger.Logger logger)
enableLogging in interface org.apache.avalon.framework.logger.LogEnabledlogger - The super.getLog() to use.public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableorg.apache.avalon.framework.configuration.ConfigurationExceptionpublic void toSAX(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
toSAX in interface org.apache.excalibur.xml.sax.XMLizableorg.xml.sax.SAXExceptionCopyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.