Class MockUTF16TermAttributeImpl
Extension of Lucene.Net.Analysis.TokenAttributes.CharTermAttribute that encodes the term text as UTF-16 bytes instead of as UTF-8 bytes.
Implements
ICharTermAttribute
    ICharSequence
    ITermToBytesRefAttribute
    IAttribute
    IAppendable
  Inherited Members
      CharTermAttribute.Buffer
    
    
    
      CharTermAttribute.Length
    
    
    
      CharTermAttribute.SetEmpty()
    
    
      CharTermAttribute.BytesRef
    
    
    
    
    
    
    
    
    
    
    
      CharTermAttribute.Append(ICharTermAttribute)
    
    
      CharTermAttribute.Append(ICharSequence)
    
    
    
      CharTermAttribute.GetHashCode()
    
    
      CharTermAttribute.Clear()
    
    
      CharTermAttribute.Clone()
    
    
    
      CharTermAttribute.ToString()
    
    
      CharTermAttribute.ReflectWith(IAttributeReflector)
    
    
      CharTermAttribute.CopyTo(IAttribute)
    
    
    
    
    
    
  Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class MockUTF16TermAttributeImpl : CharTermAttribute, ICharTermAttribute, ICharSequence, ITermToBytesRefAttribute, IAttribute, IAppendable
  Methods
FillBytesRef()
Updates the bytes Lucene.Net.Util.BytesRef to contain this term's final encoding.
Declaration
public override void FillBytesRef()
  Overrides
Lucene.Net.Analysis.TokenAttributes.CharTermAttribute.FillBytesRef()
  Implements
      Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute
  
  
      J2N.Text.ICharSequence
  
  
      Lucene.Net.Analysis.TokenAttributes.ITermToBytesRefAttribute
  
  
      Lucene.Net.Util.IAttribute
  
  
      J2N.Text.IAppendable