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