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
Inherited Members
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 SourceTokenAttributeFactory(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 SourceCreateAttributeInstance<T>()
Declaration
public override Attribute CreateAttributeInstance<T>()
where T : IAttribute
Returns
Type | Description |
---|---|
Attribute |
Type Parameters
Name | Description |
---|---|
T |
Overrides
| Improve this Doc View SourceEquals(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()