1 19 package org.netbeans.tax.spec; 20 21 import org.netbeans.tax.TreeNotationDecl; 22 import org.netbeans.tax.TreeException; 23 import org.netbeans.tax.InvalidArgumentException; 24 25 30 public interface NotationDecl { 31 32 36 39 public static interface Constraints { 40 41 public void checkNotationDeclName (String name) throws InvalidArgumentException; 42 43 public boolean isValidNotationDeclName (String name); 44 45 46 public void checkNotationDeclPublicId (String publicId) throws InvalidArgumentException; 47 48 public boolean isValidNotationDeclPublicId (String publicId); 49 50 51 public void checkNotationDeclSystemId (String systemId) throws InvalidArgumentException; 52 53 public boolean isValidNotationDeclSystemId (String systemId); 54 55 } 57 58 62 65 public static interface Creator { 66 67 70 public TreeNotationDecl createNotationDecl (String name, String publicId, String systemId); 71 72 } 74 75 79 82 public static interface Writer { 83 84 public void writeNotationDecl (TreeNotationDecl notationDecl) throws TreeException; 85 86 } 88 } 89 | Popular Tags |