1 19 package org.netbeans.tax.spec; 20 21 import org.netbeans.tax.TreeComment; 22 import org.netbeans.tax.TreeException; 23 import org.netbeans.tax.InvalidArgumentException; 24 25 30 public interface Comment { 31 32 36 39 public static interface Constraints { 40 41 public void checkCommentData (String data) throws InvalidArgumentException; 42 43 public boolean isValidCommentData (String data); 44 45 } 47 48 52 55 public static interface Creator { 56 57 60 public TreeComment createComment (String data); 61 62 } 64 65 69 72 public static interface Writer { 73 74 public void writeComment (TreeComment comment) throws TreeException; 75 76 } 78 } 79 | Popular Tags |