Class AttributeSource.AttributeFactory
An AttributeSource.AttributeFactory creates instances of Attributes.
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public abstract class AttributeFactory : object
Fields
| Improve this Doc View SourceDEFAULT_ATTRIBUTE_FACTORY
This is the default factory that creates Attributes using the
I from the prefix.
Declaration
public static readonly AttributeSource.AttributeFactory DEFAULT_ATTRIBUTE_FACTORY
Field Value
| Type | Description |
|---|---|
| AttributeSource.AttributeFactory |
Methods
| Improve this Doc View SourceCreateAttributeInstance<T>()
returns an Attribute for the supplied IAttribute interface.
Declaration
public abstract Attribute CreateAttributeInstance<T>()
where T : IAttribute
Returns
| Type | Description |
|---|---|
| Attribute |
Type Parameters
| Name | Description |
|---|---|
| T |