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
    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
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)