Code example for ImmutableSet.Builder

Methods: add

0
   @Override 
   public void endElement(String uri, String name, String qName) throws SAXException {
      if (equalsOrSuffix(qName, "tagSet")) {
         inTags = false;
      } else if (equalsOrSuffix(qName, "item")) {
         tags.add(tagHander.getResult());
      } else if (inTags) {
         tagHander.endElement(uri, name, qName);
      } 
      currentText.setLength(0);
   } 
 
   /** 
    * {@inheritDoc} 
    */ 
   @Override 
   public void characters(char ch[], int start, int length) {
      if (inTags) {
         tagHander.characters(ch, start, length);
      } else {