1 19 package org.netbeans.tax.spec; 20 21 import org.netbeans.tax.TreeDTD; 22 import org.netbeans.tax.TreeException; 23 import org.netbeans.tax.InvalidArgumentException; 24 25 30 public interface DTD { 31 32 36 39 public static interface Constraints { 40 41 public void checkDTDVersion (String version) throws InvalidArgumentException; 42 43 public boolean isValidDTDVersion (String version); 44 45 46 public void checkDTDEncoding (String encoding) throws InvalidArgumentException; 47 48 public boolean isValidDTDEncoding (String encoding); 49 50 } 52 53 57 60 public static interface Creator { 61 62 65 public TreeDTD createDTD (String version, String encoding); 66 67 } 69 70 74 77 public static interface Writer { 78 79 public void writeDTD (TreeDTD dtd) throws TreeException; 80 81 } 83 84 88 91 public static interface Child { 92 93 } 95 } 96 | Popular Tags |