1 19 package org.netbeans.tax.spec; 20 21 import org.netbeans.tax.TreeProcessingInstruction; 22 import org.netbeans.tax.TreeException; 23 import org.netbeans.tax.InvalidArgumentException; 24 25 30 public interface ProcessingInstruction { 31 32 36 39 public static interface Constraints { 40 41 public void checkProcessingInstructionTarget (String target) throws InvalidArgumentException; 42 43 public boolean isValidProcessingInstructionTarget (String target); 44 45 46 public void checkProcessingInstructionData (String data) throws InvalidArgumentException; 47 48 public boolean isValidProcessingInstructionData (String data); 49 50 } 52 53 57 60 public static interface Creator { 61 62 65 public TreeProcessingInstruction createProcessingInstruction (String target, String data); 66 67 } 69 70 74 77 public static interface Writer { 78 79 public void writeProcessingInstruction (TreeProcessingInstruction processingInstruction) throws TreeException; 80 81 } 83 } 84 | Popular Tags |