Uses of Class
org.apache.lucene.util.AttributeFactory
Packages that use AttributeFactory
Package
Description
Text analysis.
Fast, general-purpose grammar-based tokenizer
StandardTokenizer implements the Word Break rules from the
Unicode Text Segmentation algorithm, as specified in Unicode Standard Annex #29.Some utility classes.
-
Uses of AttributeFactory in org.apache.lucene.analysis
Fields in org.apache.lucene.analysis declared as AttributeFactoryModifier and TypeFieldDescriptionstatic final AttributeFactoryTokenStream.DEFAULT_TOKEN_ATTRIBUTE_FACTORYDefaultAttributeFactoryinstance that should be used for TokenStreams.Methods in org.apache.lucene.analysis that return AttributeFactoryModifier and TypeMethodDescriptionprotected AttributeFactoryAnalyzer.attributeFactory(String fieldName) protected final AttributeFactoryAnalyzerWrapper.attributeFactory(String fieldName) Methods in org.apache.lucene.analysis with parameters of type AttributeFactoryModifier and TypeMethodDescriptionabstract TokenizerTokenizerFactory.create(AttributeFactory factory) Creates a TokenStream of the specified input using the given AttributeFactoryConstructors in org.apache.lucene.analysis with parameters of type AttributeFactoryModifierConstructorDescriptionprotectedTokenizer(AttributeFactory factory) Construct a tokenizer with no input, awaiting a call toTokenizer.setReader(java.io.Reader)to provide input.protectedTokenStream(AttributeFactory factory) A TokenStream using the supplied AttributeFactory for creating newAttributeinstances. -
Uses of AttributeFactory in org.apache.lucene.analysis.standard
Methods in org.apache.lucene.analysis.standard with parameters of type AttributeFactoryConstructors in org.apache.lucene.analysis.standard with parameters of type AttributeFactoryModifierConstructorDescriptionStandardTokenizer(AttributeFactory factory) Creates a new StandardTokenizer with a givenAttributeFactory -
Uses of AttributeFactory in org.apache.lucene.util
Subclasses of AttributeFactory in org.apache.lucene.utilModifier and TypeClassDescriptionstatic classExpert: AttributeFactory returning an instance of the givenclazzfor the attributes it implements.Fields in org.apache.lucene.util declared as AttributeFactoryModifier and TypeFieldDescriptionstatic final AttributeFactoryAttributeFactory.DEFAULT_ATTRIBUTE_FACTORYThis is the default factory that createsAttributeImpls using the class name of the suppliedAttributeinterface class by appendingImplto it.Methods in org.apache.lucene.util that return AttributeFactoryModifier and TypeMethodDescriptionfinal AttributeFactoryAttributeSource.getAttributeFactory()returns the used AttributeFactory.static <A extends AttributeImpl>
AttributeFactoryAttributeFactory.getStaticImplementation(AttributeFactory delegate, Class<A> clazz) Returns an AttributeFactory returning an instance of the givenclazzfor the attributes it implements.Methods in org.apache.lucene.util with parameters of type AttributeFactoryModifier and TypeMethodDescriptionstatic <A extends AttributeImpl>
AttributeFactoryAttributeFactory.getStaticImplementation(AttributeFactory delegate, Class<A> clazz) Returns an AttributeFactory returning an instance of the givenclazzfor the attributes it implements.Constructors in org.apache.lucene.util with parameters of type AttributeFactoryModifierConstructorDescriptionAttributeSource(AttributeFactory factory) An AttributeSource using the suppliedAttributeFactoryfor creating newAttributeinstances.protectedStaticImplementationAttributeFactory(AttributeFactory delegate, Class<A> clazz) Expert: Creates an AttributeFactory returningclazzas instance for the attributes it implements and for all other attributes calls the given delegate factory.