1 4 package gnu.lists; 5 6 15 16 public interface Consumer 17 18 20 { 21 public void writeBoolean(boolean v); 22 23 public void writeFloat(float v); 24 public void writeDouble(double v); 25 public void writeInt(int v); 26 public void writeLong(long v); 27 28 public void beginDocument(); 29 public void endDocument(); 30 31 public void beginGroup(Object type); 32 public void endGroup(); 33 34 36 public void beginAttribute(Object attrType); 37 38 42 public void endAttribute(); 43 44 public void writeObject(Object v); 45 46 48 public boolean ignoring(); 49 50 public void write(int ch); 51 public void write(String string); 52 53 public void write(CharSequence string, int start, int length); 54 55 57 58 public void write(char[] buf, int start, int length); 59 60 61 65 } 66 | Popular Tags |