Exemple #1
0
 public void attribute(NameSpec nameSpec, Datatype datatype, AttributeDefault attributeDefault)
     throws Exception {
   w.startElement("attribute");
   nameSpec.accept(this);
   datatype.accept(this);
   attributeDefault.accept(this);
   w.endElement();
 }
Exemple #2
0
 public void datatypeDef(String name, Datatype datatype) throws Exception {
   w.startElement("datatype");
   w.attribute("name", name);
   datatype.accept(this);
   w.endElement();
 }