1 19 20 package org.openide.src; 21 22 39 public interface ElementPrinter { 40 41 public static final int ELEMENT_BEGIN = 0; 42 43 public static final int ELEMENT_END = 1; 44 45 46 public static final int JAVADOC_BEGIN = 2; 47 48 public static final int JAVADOC_END = 3; 49 50 53 public static final int HEADER_BEGIN = 4; 54 57 public static final int HEADER_END = 5; 58 59 62 public static final int BODY_BEGIN = 6; 63 64 67 public static final int BODY_END = 7; 68 69 73 public void print(String text) throws ElementPrinterInterruptException; 74 75 79 public void println(String text) throws ElementPrinterInterruptException; 80 81 86 public void markClass(ClassElement element, int what) 87 throws ElementPrinterInterruptException; 88 89 94 public void markInitializer(InitializerElement element, int what) 95 throws ElementPrinterInterruptException; 96 97 102 public void markField(FieldElement element, int what) 103 throws ElementPrinterInterruptException; 104 105 110 public void markConstructor(ConstructorElement element, int what) 111 throws ElementPrinterInterruptException; 112 113 118 public void markMethod(MethodElement element, int what) 119 throws ElementPrinterInterruptException; 120 } 121 | Popular Tags |