This class wraps a Token and supplies a single attribute instance where the delegate token can be replaced.

Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[SerializableAttribute]
[ObsoleteAttribute("Will be removed, when old TokenStream API is removed.")]
public sealed class TokenWrapper : AttributeImpl, 
	ICloneable, TermAttribute, TypeAttribute, PositionIncrementAttribute, FlagsAttribute, 
	OffsetAttribute, PayloadAttribute, Attribute
Visual Basic
<SerializableAttribute> _
<ObsoleteAttribute("Will be removed, when old TokenStream API is removed.")> _
Public NotInheritable Class TokenWrapper _
	Inherits AttributeImpl _
	Implements ICloneable, TermAttribute, TypeAttribute, PositionIncrementAttribute,  _
	FlagsAttribute, OffsetAttribute, PayloadAttribute, Attribute
Visual C++
[SerializableAttribute]
[ObsoleteAttribute(L"Will be removed, when old TokenStream API is removed.")]
public ref class TokenWrapper sealed : public AttributeImpl, 
	ICloneable, TermAttribute, TypeAttribute, PositionIncrementAttribute, FlagsAttribute, 
	OffsetAttribute, PayloadAttribute, Attribute

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Util..::..AttributeImpl
    Lucene.Net.Analysis..::..TokenWrapper

See Also