Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MockBytesAttributeFactory

    Lucene.Net.Util.AttributeSource.AttributeFactory that implements Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute with MockUTF16TermAttributeImpl.

    Inheritance
    object
    AttributeSource.AttributeFactory
    MockBytesAttributeFactory
    Inherited Members
    AttributeSource.AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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>()
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.