1920212223242526
for (Class<? extends Annotation> annotation: annotations) { generator.add(annotation); } } DTDWriter writer = new DTDWriter(new OutputStreamWriter(System.out)); generator.generate(writer); }