public void endElement(String tag, SimpleXmlDefaultLoader ended) throws SAXParseException {
   if (tag.equals(TAG_CHOICE)) {
     ChoiceItemXmlLoader loader = (ChoiceItemXmlLoader) ended;
     String itemCode = loader.getCode();
     String itemLabel = loader.getLabel();
     ChoiceItem choice = new ChoiceItem(itemCode, itemLabel);
     setOfChoices.add(choice);
   }
   super.endElement(tag, ended);
 }
 public void startDocument(Attributes attrs) throws SAXParseException {
   String code = attrs.getValue(ATTRIBUTE_REUSABLE_CHOICES_CODE);
   String label = attrs.getValue(ATTRIBUTE_REUSABLE_CHOICES_LABEL);
   setOfChoices = new ReusableChoices(code, label);
   super.startDocument(attrs);
 }