Class MockBytesAttributeFactory
Lucene.Net.Util.AttributeSource.AttributeFactory that implements Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute with MockUTF16TermAttributeImpl.
Inheritance
System.Object
Lucene.Net.Util.AttributeSource.AttributeFactory
MockBytesAttributeFactory
Inherited Members
Lucene.Net.Util.AttributeSource.AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class MockBytesAttributeFactory : AttributeSource.AttributeFactory
Methods
| Improve this Doc View SourceCreateAttributeInstance<T>()
Declaration
public override Attribute CreateAttributeInstance<T>()
where T : IAttribute
Returns
Type | Description |
---|---|
Lucene.Net.Util.Attribute |
Type Parameters
Name | Description |
---|---|
T |
Overrides
Lucene.Net.Util.AttributeSource.AttributeFactory.CreateAttributeInstance<T>()