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, tokenStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
tokenStream, tokenStream
protected 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.LogEnabled
logger
- 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.Configurable
org.apache.avalon.framework.configuration.ConfigurationException
public void toSAX(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
toSAX
in interface org.apache.excalibur.xml.sax.XMLizable
org.xml.sax.SAXException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.