Class MockBytesAttributeFactory
Lucene.Net.Util.AttributeSource.AttributeFactory that implements Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute with MockUTF16TermAttributeImpl.
Inherited Members
AttributeSource.AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY
Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class MockBytesAttributeFactory : AttributeSource.AttributeFactory
Methods
CreateAttributeInstance<T>()
returns an Lucene.Net.Util.Attribute for the supplied Lucene.Net.Util.IAttribute interface.
Declaration
public override Attribute CreateAttributeInstance<T>() where T : IAttribute
Returns
Type | Description |
---|---|
Attribute |
Type Parameters
Name | Description |
---|---|
T |
Overrides
Lucene.Net.Util.AttributeSource.AttributeFactory.CreateAttributeInstance<T>()