code: protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
      GenderType gender = (GenderType) xmlObject;
      if (gender.getGender() != null && gender.getGender().getValue() != null) {
        XMLHelper.appendTextContent(domElement, gender.getGender().getValue());
      }
    }
docs: {@inheritDoc}