Show / Hide Table of Contents

    Class SingleTokenTokenStream

    A TokenStream containing a single token.

    Inheritance
    System.Object
    AttributeSource
    TokenStream
    SingleTokenTokenStream
    Implements
    IDisposable
    Inherited Members
    TokenStream.End()
    TokenStream.Dispose()
    TokenStream.Dispose(Boolean)
    AttributeSource.GetAttributeFactory()
    AttributeSource.GetAttributeClassesEnumerator()
    AttributeSource.GetAttributeImplsEnumerator()
    AttributeSource.AddAttributeImpl(Attribute)
    AttributeSource.AddAttribute<T>()
    AttributeSource.HasAttributes
    AttributeSource.HasAttribute<T>()
    AttributeSource.GetAttribute<T>()
    AttributeSource.ClearAttributes()
    AttributeSource.CaptureState()
    AttributeSource.RestoreState(AttributeSource.State)
    AttributeSource.GetHashCode()
    AttributeSource.Equals(Object)
    AttributeSource.ReflectAsString(Boolean)
    AttributeSource.ReflectWith(IAttributeReflector)
    AttributeSource.CloneAttributes()
    AttributeSource.CopyTo(AttributeSource)
    AttributeSource.ToString()
    Namespace: Lucene.Net.Analysis.Miscellaneous
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public sealed class SingleTokenTokenStream : TokenStream, IDisposable

    Constructors

    | Improve this Doc View Source

    SingleTokenTokenStream(Token)

    Declaration
    public SingleTokenTokenStream(Token token)
    Parameters
    Type Name Description
    Token token

    Methods

    | Improve this Doc View Source

    GetToken()

    Declaration
    public Token GetToken()
    Returns
    Type Description
    Token
    | Improve this Doc View Source

    IncrementToken()

    Declaration
    public override sealed bool IncrementToken()
    Returns
    Type Description
    System.Boolean
    Overrides
    TokenStream.IncrementToken()
    | Improve this Doc View Source

    Reset()

    Declaration
    public override void Reset()
    Overrides
    TokenStream.Reset()
    | Improve this Doc View Source

    SetToken(Token)

    Declaration
    public void SetToken(Token token)
    Parameters
    Type Name Description
    Token token

    Implements

    IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)