1 19 package org.netbeans.tax.spec; 20 21 import org.netbeans.tax.TreeDocumentType; 22 import org.netbeans.tax.TreeException; 23 import org.netbeans.tax.InvalidArgumentException; 24 25 30 public interface DocumentType { 31 32 36 39 public static interface Constraints { 40 41 public void checkDocumentTypeElementName (String elementName) throws InvalidArgumentException; 42 43 public boolean isValidDocumentTypeElementName (String elementName); 44 45 46 public void checkDocumentTypePublicId (String publicId) throws InvalidArgumentException; 47 48 public boolean isValidDocumentTypePublicId (String publicId); 49 50 51 public void checkDocumentTypeSystemId (String systemId) throws InvalidArgumentException; 52 53 public boolean isValidDocumentTypeSystemId (String systemId); 54 55 } 57 58 62 65 public static interface Creator { 66 67 70 public TreeDocumentType createDocumentType (String elementName); 71 72 75 public TreeDocumentType createDocumentType (String elementName, String publicId, String systemId); 76 77 } 79 80 84 87 public static interface Writer { 88 89 public void writeDocumentType (TreeDocumentType documentType) throws TreeException; 90 91 } 93 94 98 101 public static interface Child { 102 103 } 105 } 106 | Popular Tags |