Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class AttributeSource.AttributeFactory

    An AttributeSource.AttributeFactory creates instances of Attributes.

    Inheritance
    System.Object
    AttributeSource.AttributeFactory
    Token.TokenAttributeFactory
    Inherited Members
    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.Util
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class AttributeFactory

    Fields

    | Improve this Doc View Source

    DEFAULT_ATTRIBUTE_FACTORY

    This is the default factory that creates Attributes using the System.Type of the supplied IAttribute interface by removing the

    I
    from the prefix.

    Declaration
    public static readonly AttributeSource.AttributeFactory DEFAULT_ATTRIBUTE_FACTORY
    Field Value
    Type Description
    AttributeSource.AttributeFactory

    Methods

    | Improve this Doc View Source

    CreateAttributeInstance<T>()

    returns an Attribute for the supplied IAttribute interface.

    Declaration
    public abstract Attribute CreateAttributeInstance<T>()
        where T : IAttribute
    Returns
    Type Description
    Attribute
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.