## Uses of Interface
org.apache.lucene.util.Attribute

- Packages that use Attribute
  Package | Description
  --- | ---
  org.apache.lucene.analysis | API and code to convert text into indexable/searchable tokens.
  org.apache.lucene.analysis.tokenattributes |
  org.apache.lucene.util | Some utility classes.

- - ### Uses of Attribute in org.apache.lucene.analysis

    Classes in org.apache.lucene.analysis that implement Attribute
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Token` A Token is an occurrence of a term from the text of a field.

  - ### Uses of Attribute in org.apache.lucene.analysis.tokenattributes

    Subinterfaces of Attribute in org.apache.lucene.analysis.tokenattributes
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `FlagsAttribute` This attribute can be used to pass different flags down the `Tokenizer` chain, eg from one TokenFilter to another one.
    `interface` | `OffsetAttribute` The start and end character offset of a Token.
    `interface` | `PayloadAttribute` The payload of a Token.
    `interface` | `PositionIncrementAttribute` The positionIncrement determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.
    `interface` | `TermAttribute` The term text of a Token.
    `interface` | `TypeAttribute` A Token's lexical type.

    Classes in org.apache.lucene.analysis.tokenattributes that implement Attribute
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FlagsAttributeImpl` This attribute can be used to pass different flags down the tokenizer chain, eg from one TokenFilter to another one.
    `class` | `OffsetAttributeImpl` The start and end character offset of a Token.
    `class` | `PayloadAttributeImpl` The payload of a Token.
    `class` | `PositionIncrementAttributeImpl` The positionIncrement determines the position of this token relative to the previous Token in a `TokenStream`, used in phrase searching.
    `class` | `TermAttributeImpl` The term text of a Token.
    `class` | `TypeAttributeImpl` A Token's lexical type.

  - ### Uses of Attribute in org.apache.lucene.util

    Classes in org.apache.lucene.util that implement Attribute
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AttributeImpl` Base class for Attributes that can be added to a `AttributeSource`.

    Methods in org.apache.lucene.util that return Attribute
    Modifier and Type | Method and Description
    --- | ---
    `Attribute` | AttributeSource.`addAttribute(java.lang.Class attClass)` The caller must pass in a Class<? extends Attribute> value.
    `Attribute` | AttributeSource.`getAttribute(java.lang.Class attClass)` The caller must pass in a Class<? extends Attribute> value.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.