Пример #1
0
 public void modelGroupDef(String name, ModelGroup modelGroup) throws Exception {
   w.startElement("modelGroup");
   w.attribute("name", name);
   modelGroup.accept(this);
   w.endElement();
 }
Пример #2
0
 public void optional(ModelGroup member) throws Exception {
   w.startElement("optional");
   member.accept(this);
   w.endElement();
 }
Пример #3
0
 public void elementDecl(NameSpec nameSpec, ModelGroup modelGroup) throws Exception {
   w.startElement("element");
   nameSpec.accept(this);
   modelGroup.accept(this);
   w.endElement();
 }
Пример #4
0
 public void zeroOrMore(ModelGroup member) throws Exception {
   w.startElement("zeroOrMore");
   member.accept(this);
   w.endElement();
 }