|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.util.AttributeSource.AttributeFactory
org.apache.lucene.analysis.Token.TokenAttributeFactory
public static final class Token.TokenAttributeFactory
Expert: Creates a TokenAttributeFactory returning Token as instance for the basic attributes
and for all other attributes calls the given delegate factory.
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.util.AttributeSource.AttributeFactory |
|---|
DEFAULT_ATTRIBUTE_FACTORY |
| Constructor Summary | |
|---|---|
Token.TokenAttributeFactory(AttributeSource.AttributeFactory delegate)
Expert: Creates an AttributeFactory returning Token as instance for the basic attributes
and for all other attributes calls the given delegate factory. |
|
| Method Summary | |
|---|---|
AttributeImpl |
createAttributeInstance(java.lang.Class<? extends Attribute> attClass)
returns an AttributeImpl for the supplied Attribute interface class. |
boolean |
equals(java.lang.Object other)
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Token.TokenAttributeFactory(AttributeSource.AttributeFactory delegate)
Token as instance for the basic attributes
and for all other attributes calls the given delegate factory.
| Method Detail |
|---|
public AttributeImpl createAttributeInstance(java.lang.Class<? extends Attribute> attClass)
AttributeSource.AttributeFactoryAttributeImpl for the supplied Attribute interface class.
createAttributeInstance in class AttributeSource.AttributeFactorypublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||