private void doSpelling(int tag) { switch (tag) { case XMLTags.Spelling: response.setSpelling(spelling); inSpelling = false; break; case XMLTags.Suggestion: currSuggestion.setTextMarkup(contentBuff.ToString()); spelling.addSuggestion(currSuggestion); break; } }