AttributeImpl
Base class for Attributes that can be added to a org.gnit.lucenekmp.util.AttributeSource.
Attributes are used to add data in a dynamic, yet type-safe way to a source of usually streamed objects, e. g. a org.gnit.lucenekmp.analysis.TokenStream.
All implementations must list all implemented Attribute interfaces in their implements clause. AttributeSource reflectively identifies all attributes and makes them available to consumers like TokenStreams.
Inheritors
Functions
In most cases the clone is, and should be, deep in order to be able to properly capture the state of all attributes.
Copies the values from this Attribute into the passed-in target attribute. The target implementation must support all the Attributes this implementation supports.
This method returns the current attribute values as a string in the following format by calling the .reflectWith method:
This method is for introspection of attributes, it should simply add the key/values this attribute holds to the given AttributeReflector.