Uses of Class
org.apache.lucene.util.AttributeSource.AttributeFactory
Packages that use AttributeSource.AttributeFactory
Package
Description
API and code to convert text into indexable/searchable tokens.
Some utility classes.
-
Uses of AttributeSource.AttributeFactory in org.apache.lucene.analysis
Subclasses of AttributeSource.AttributeFactory in org.apache.lucene.analysisModifier and TypeClassDescriptionstatic final class
Expert: Creates a TokenAttributeFactory returningToken
as instance for the basic attributes and for all other attributes calls the given delegate factory.Fields in org.apache.lucene.analysis declared as AttributeSource.AttributeFactoryModifier and TypeFieldDescriptionstatic final AttributeSource.AttributeFactory
Token.TOKEN_ATTRIBUTE_FACTORY
Convenience factory that returnsToken
as implementation for the basic attributes and return the default impl (with "Impl" appended) for all other attributes.Constructors in org.apache.lucene.analysis with parameters of type AttributeSource.AttributeFactoryModifierConstructorDescriptionNumericTokenStream
(AttributeSource.AttributeFactory factory, int precisionStep) Expert: Creates a token stream for numeric values with the specifiedprecisionStep
using the givenAttributeSource.AttributeFactory
.Expert: Creates an AttributeFactory returningToken
as instance for the basic attributes and for all other attributes calls the given delegate factory.protected
Tokenizer
(AttributeSource.AttributeFactory factory, Reader input) Construct a token stream processing the given input using the given AttributeFactory.protected
A TokenStream using the supplied AttributeFactory for creating newAttribute
instances. -
Uses of AttributeSource.AttributeFactory in org.apache.lucene.util
Fields in org.apache.lucene.util declared as AttributeSource.AttributeFactoryModifier and TypeFieldDescriptionstatic final AttributeSource.AttributeFactory
AttributeSource.AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY
This is the default factory that createsAttributeImpl
s using the class name of the suppliedAttribute
interface class by appendingImpl
to it.Methods in org.apache.lucene.util that return AttributeSource.AttributeFactoryModifier and TypeMethodDescriptionAttributeSource.getAttributeFactory()
returns the used AttributeFactory.Constructors in org.apache.lucene.util with parameters of type AttributeSource.AttributeFactoryModifierConstructorDescriptionAn AttributeSource using the suppliedAttributeSource.AttributeFactory
for creating newAttribute
instances.