Exemplo n.º 1
0
 public sealed override bool IncrementToken()
 {
     if (m_input.IncrementToken())
     {
         string text = termAttribute.ToString();
         termAttribute.SetEmpty();
         termAttribute.Append(CyrillicLatinConverter.cir2lat(text));
         return(true);
     }
     return(false);
 }
Exemplo n.º 2
0
        public override bool IncrementToken()
        {
            bool success = false;

            if (m_input.IncrementToken())
            {
                string text = termAttribute.ToString();
                termAttribute.Clear();
                termAttribute.Append(CyrillicLatinConverter.Cir2lat(text));
                success = true;
            }
            return(success);
        }
Exemplo n.º 3
0
 public override bool IncrementToken()
 {
     ClearAttributes();
     if (nextTokenStringNeedingLeaf != null)
     {
         termAtt.Append(nextTokenStringNeedingLeaf);
         termAtt.Append((char)Cell.LEAF_BYTE);
         nextTokenStringNeedingLeaf = null;
         return(true);
     }
     if (iter.MoveNext())
     {
         Cell   cell  = iter.Current;
         string token = cell.TokenString;
         termAtt.Append(token);
         if (cell.IsLeaf())
         {
             nextTokenStringNeedingLeaf = token;
         }
         return(true);
     }
     return(false);
 }