1 17 package org.apache.ws.jaxme.js; 18 19 import java.io.IOException ; 20 21 22 26 public interface IndentationEngine { 27 public static final Object NOTHING = ""; 28 29 31 public void indent(); 32 34 public void unindent(); 35 36 39 public void write(IndentationTarget pTarget) throws IOException ; 40 41 44 public void write(IndentationTarget pTarget, Object pObject) throws IOException ; 45 46 48 public void clear(); 49 51 public void setLevel(int pLevel); 52 54 public int getLevel(); 55 56 59 public void addLine(int pLevel, Object [] pTokens); 60 62 public void addLine(Object [] pTokens); 63 66 public void addLine(); 67 70 public void addLine(Object pLine); 71 74 public void addLine(Object pToken1, Object pToken2); 75 78 public void addLine(Object pToken1, Object pToken2, Object pToken3); 79 82 public void addLine(Object pToken1, Object pToken2, Object pToken3, 83 Object pToken4); 84 87 public void addLine(Object pToken1, Object pToken2, Object pToken3, 88 Object pToken4, Object pToken5); 89 93 public void addLine(Object pToken1, Object pToken2, Object pToken3, 94 Object pToken4, Object pToken5, Object pToken6); 95 99 public void addLine(Object pToken1, Object pToken2, Object pToken3, 100 Object pToken4, Object pToken5, Object pToken6, 101 Object pToken7); 102 106 public void addLine(Object pToken1, Object pToken2, Object pToken3, 107 Object pToken4, Object pToken5, Object pToken6, 108 Object pToken7, Object pToken8); 109 113 public void addLine(Object pToken1, Object pToken2, Object pToken3, 114 Object pToken4, Object pToken5, Object pToken6, 115 Object pToken7, Object pToken8, Object pToken9); 116 120 public void addLine(Object pToken1, Object pToken2, Object pToken3, 121 Object pToken4, Object pToken5, Object pToken6, 122 Object pToken7, Object pToken8, Object pToken9, 123 Object pToken10); 124 129 public void addLine(Object pToken1, Object pToken2, Object pToken3, 130 Object pToken4, Object pToken5, Object pToken6, 131 Object pToken7, Object pToken8, Object pToken9, 132 Object pToken10, Object pToken11); 133 138 public void addLine(Object pToken1, Object pToken2, Object pToken3, 139 Object pToken4, Object pToken5, Object pToken6, 140 Object pToken7, Object pToken8, Object pToken9, 141 Object pToken10, Object pToken11, Object pToken12); 142 147 public void addLine(Object pToken1, Object pToken2, Object pToken3, 148 Object pToken4, Object pToken5, Object pToken6, 149 Object pToken7, Object pToken8, Object pToken9, 150 Object pToken10, Object pToken11, Object pToken12, 151 Object pToken13); 152 157 public void addLine(Object pToken1, Object pToken2, Object pToken3, 158 Object pToken4, Object pToken5, Object pToken6, 159 Object pToken7, Object pToken8, Object pToken9, 160 Object pToken10, Object pToken11, Object pToken12, 161 Object pToken13, Object pToken14); 162 167 public void addLine(Object pToken1, Object pToken2, Object pToken3, 168 Object pToken4, Object pToken5, Object pToken6, 169 Object pToken7, Object pToken8, Object pToken9, 170 Object pToken10, Object pToken11, Object pToken12, 171 Object pToken13, Object pToken14, Object pToken15); 172 173 175 public void moveToTop(); 176 177 179 public void moveToBottom(); 180 181 186 public PlaceHolder newPlaceHolder(String pName, boolean pAutoRemove); 187 188 196 public PlaceHolder getPlaceHolder(String pName); 197 } 198 | Popular Tags |