public static final class

Token.TokenAttributeFactory

extends AttributeSource.AttributeFactory
java.lang.Object
   ↳ org.apache.lucene.util.AttributeSource.AttributeFactory
     ↳ org.apache.lucene.analysis.Token.TokenAttributeFactory

Class Overview

Expert: Creates a TokenAttributeFactory returning Token as instance for the basic attributes and for all other attributes calls the given delegate factory.

Summary

[Expand]
Inherited Fields
From class org.apache.lucene.util.AttributeSource.AttributeFactory
Public Constructors
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.
Public Methods
AttributeImpl createAttributeInstance(Class<? extends Attribute> attClass)
returns an AttributeImpl for the supplied Attribute interface class.
boolean equals(Object other)
int hashCode()
[Expand]
Inherited Methods
From class org.apache.lucene.util.AttributeSource.AttributeFactory
From class java.lang.Object

Public Constructors

public 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.

Public Methods

public AttributeImpl createAttributeInstance (Class<? extends Attribute> attClass)

returns an AttributeImpl for the supplied Attribute interface class.

public boolean equals (Object other)

public int hashCode ()