コード例 #1
0
 public void testCreateElement() throws Exception {
   ELEMENT element = ELEMENT.Factory.newInstance();
   element.setName(dvText("name"));
   element.setValue(dvQuantity(6.1, "mmol/l"));
 }
コード例 #2
0
 private ELEMENT element(String name, double value, String units) {
   ELEMENT element = ELEMENT.Factory.newInstance();
   element.setName(dvText(name));
   element.setValue(dvQuantity(value, units));
   return element;
 }