Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Token.TokenAttributeFactory

    Expert: Creates a Token.TokenAttributeFactory returning Token as instance for the basic attributes and for all other attributes calls the given delegate factory. @since 3.0

    Inheritance
    System.Object
    AttributeSource.AttributeFactory
    Token.TokenAttributeFactory
    Inherited Members
    AttributeSource.AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Analysis
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class TokenAttributeFactory : AttributeSource.AttributeFactory

    Constructors

    | Improve this Doc View Source

    TokenAttributeFactory(AttributeSource.AttributeFactory)

    Expert: Creates an AttributeSource.AttributeFactory returning Token as instance for the basic attributes and for all other attributes calls the given delegate factory.

    Declaration
    public TokenAttributeFactory(AttributeSource.AttributeFactory delegate)
    Parameters
    Type Name Description
    AttributeSource.AttributeFactory delegate

    Methods

    | Improve this Doc View Source

    CreateAttributeInstance<T>()

    Declaration
    public override Attribute CreateAttributeInstance<T>()
        where T : IAttribute
    Returns
    Type Description
    Attribute
    Type Parameters
    Name Description
    T
    Overrides
    AttributeSource.AttributeFactory.CreateAttributeInstance<T>()
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    System.Object other
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.