throw new IllegalArgumentException("The writer is null.");
}
// Our EntityEncoder already gave us our root element.
out.write("<bv value=\"");
value = (int) (squad.calculateBattleValue() / squad.getCrew()
.getBVSkillMultiplier());
out.write(value);
out.write("\" /><shootingStrength value=\"");
value = squad.getShootingStrength();
out.write(String.valueOf(value));