1 19 package org.netbeans.tax.spec; 20 21 import org.netbeans.tax.TreeAttribute; 22 import org.netbeans.tax.TreeName; 23 import org.netbeans.tax.TreeException; 24 import org.netbeans.tax.InvalidArgumentException; 25 26 31 public interface Attribute { 32 33 37 40 public static interface Constraints { 41 42 public void checkAttributeName (TreeName treeName) throws InvalidArgumentException; 43 44 public boolean isValidAttributeName (TreeName treeName); 45 46 47 public void checkAttributeValue (String value) throws InvalidArgumentException; 48 49 public boolean isValidAttributeValue (String value); 50 51 } 53 54 58 61 public static interface Creator { 62 63 66 public TreeAttribute createAttribute (String name, String value); 67 68 69 } 71 72 76 79 public static interface Writer { 80 81 public void writeAttribute (TreeAttribute attribute) throws TreeException; 82 83 } 85 86 90 93 public static interface Value { 94 95 } 97 } 98 | Popular Tags |