Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ScriptAttribute

    Implementation of IScriptAttribute that stores the script as an integer.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    Lucene.Net.Util.Attribute
    ScriptAttribute
    Implements
    IScriptAttribute
    Lucene.Net.Util.IAttribute
    Inherited Members
    Attribute.ReflectAsString(Boolean)
    Lucene.Net.Util.Attribute.ToString()
    Lucene.Net.Util.Attribute.Clone()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Analysis.Icu.TokenAttributes
    Assembly: Lucene.Net.ICU.dll
    Syntax
    public class ScriptAttribute : Attribute, IScriptAttribute, IAttribute

    Constructors

    | Improve this Doc View Source

    ScriptAttribute()

    Initializes this attribute with ICU4N.Globalization.UScript.Common.

    Declaration
    public ScriptAttribute()

    Properties

    | Improve this Doc View Source

    Code

    Declaration
    public virtual int Code { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    Clear()

    Declaration
    public override void Clear()
    Overrides
    Lucene.Net.Util.Attribute.Clear()
    | Improve this Doc View Source

    CopyTo(IAttribute)

    Declaration
    public override void CopyTo(IAttribute target)
    Parameters
    Type Name Description
    Lucene.Net.Util.IAttribute target
    Overrides
    Lucene.Net.Util.Attribute.CopyTo(Lucene.Net.Util.IAttribute)
    | 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

    GetName()

    Declaration
    public virtual string GetName()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetShortName()

    Declaration
    public virtual string GetShortName()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ReflectWith(IAttributeReflector)

    Declaration
    public override void ReflectWith(IAttributeReflector reflector)
    Parameters
    Type Name Description
    Lucene.Net.Util.IAttributeReflector reflector
    Overrides
    Lucene.Net.Util.Attribute.ReflectWith(Lucene.Net.Util.IAttributeReflector)

    Implements

    IScriptAttribute
    Lucene.Net.Util.IAttribute
    • 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.