public void characters(char buf[], int offset, int len) throws SAXException {
   String str = new String(buf, offset, len);
   if (str != null && !str.trim().equals("")) {
     if (element.compareToIgnoreCase("basic") == 0) {
       basicTag.setValue(str);
     }
     if (element.compareToIgnoreCase("contact") == 0) {
       contactTag.setContact(str);
     }
     if (element.compareToIgnoreCase("note") == 0) {
       noteTag.setNote(str);
     }
   }
 }