Lines Matching refs:tag

151      * Internal method for writing a tag with attributes.
152 * @param tag the tag name
156 * @param close true to close the tag, false to leave it
159 protected void tag(String tag, String[] names, String[] values,
164 m_out.write(tag);
178 m_tagStack.add(tag);
183 * Write a closed tag with attributes. The tag will be followed by a
185 * @param tag the tag name
190 public void tag(String tag, String[] names, String[] values, int nattr) throws IOException
192 tag(tag, names, values, nattr, true);
196 * Write a start tag with attributes. The tag will be followed by a
198 * @param tag the tag name
203 public void start(String tag, String[] names, String[] values, int nattr) throws IOException
205 tag(tag, names, values, nattr, false);
209 * Write a new attribut to an existing tag. The attribute will be followed by a newline.
224 * Internal method for writing a tag with a single attribute.
225 * @param tag the tag name
228 * @param close true to close the tag, false to leave it
231 protected void tag(String tag, String name, String value, boolean close) throws IOException {
234 m_out.write(tag);
246 m_tagStack.add(tag);
251 * Write a closed tag with one attribute. The tag will be followed by a
253 * @param tag the tag name
257 public void tag(String tag, String name, String value) throws IOException
259 tag(tag, name, value, true);
263 * Write a start tag with one attribute. The tag will be followed by a
265 * @param tag the tag name
269 public void start(String tag, String name, String value) throws IOException
271 tag(tag, name, value, false);
275 * Internal method for writing a tag with attributes.
276 * @param tag the tag name
280 * @param close true to close the tag, false to leave it
283 protected void tag(String tag, ArrayList names, ArrayList values,
288 m_out.write(tag);
302 m_tagStack.add(tag);
307 * Write a closed tag with attributes. The tag will be followed by a
309 * @param tag the tag name
314 public void tag(String tag, ArrayList names, ArrayList values, int nattr) throws IOException
316 tag(tag, names, values, nattr, true);
320 * Write a start tag with attributes. The tag will be followed by a
322 * @param tag the tag name
327 public void start(String tag, ArrayList names, ArrayList values, int nattr) throws IOException
329 tag(tag, names, values, nattr, false);
333 * Write a start tag without attributes. The tag will be followed by a
335 * @param tag the tag name
337 public void start(String tag) throws IOException {
338 tag(tag, (String[])null, null, 0, false);
342 * Close the most recently opened tag. The tag will be followed by a
346 String tag = (String)m_tagStack.remove(m_tagStack.size()-1);
350 m_out.write(tag);
356 * Write a new content tag with a single attribute, consisting of an
357 * open tag, content text, and a closing tag, all on one line.
358 * @param tag the tag name
363 public void contentTag(String tag, String name, String value, String content) throws IOException
366 m_out.write('<'); m_out.write(tag); m_out.write(' ');
371 m_out.write('<'); m_out.write('/'); m_out.write(tag); m_out.write('>');
376 * Write a new content tag with no attributes, consisting of an
377 * open tag, content text, and a closing tag, all on one line.
378 * @param tag the tag name
381 public void contentTag(String tag, String content) throws IOException {
383 m_out.write('<'); m_out.write(tag); m_out.write('>');
385 m_out.write('<'); m_out.write('/'); m_out.write(tag); m_out.write('>');