1 19 package org.netbeans.tax.spec; 20 21 import org.netbeans.tax.TreeElement; 22 import org.netbeans.tax.TreeName; 23 import org.netbeans.tax.TreeException; 24 import org.netbeans.tax.InvalidArgumentException; 25 26 31 public interface Element { 32 33 37 40 public static interface Constraints { 41 42 public void checkElementTagName (TreeName elementTreeName) throws InvalidArgumentException; 43 44 public boolean isValidElementTagName (TreeName elementTreeName); 45 46 } 48 49 53 56 public static interface Creator { 57 58 61 public TreeElement createElement (String tagName); 62 63 } 65 66 70 73 public static interface Writer { 74 75 public void writeElement (TreeElement element) throws TreeException; 76 77 } 79 80 84 87 public static interface Child { 88 89 } 91 94 public static interface Attribute { 95 96 } 98 } 99 | Popular Tags |