View Javadoc

1   /*
2    * $Id: ISgmlWriter.java,v 1.18 2011/06/16 09:29:41 jbmeslin Exp $
3    * 
4    */
5   package org.rcfaces.core.internal.renderkit;
6   
7   import javax.faces.component.UIComponent;
8   
9   /**
10   * 
11   * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
12   * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:41 $
13   */
14  public interface ISgmlWriter extends IComponentWriter {
15  
16      String NBSP = "\u00A0";
17  
18      ISgmlWriter write(String s) throws WriterException;
19  
20      ISgmlWriter writeText(String s) throws WriterException;
21  
22      ISgmlWriter write(char c) throws WriterException;
23  
24      ISgmlWriter write(int value) throws WriterException;
25  
26      ISgmlWriter writeComment(String comment) throws WriterException;
27  
28      ISgmlWriter writeAttribute(String name, String value)
29              throws WriterException;
30  
31      ISgmlWriter writeAttribute(String name, String values[], String separator)
32              throws WriterException;
33  
34      ISgmlWriter writeAttribute(String name) throws WriterException;
35  
36      ISgmlWriter writeAttribute(String name, long value) throws WriterException;
37  
38      ISgmlWriter writeAttribute(String name, boolean value)
39              throws WriterException;
40  
41      ISgmlWriter write(char[] buffer, int offset, int length)
42              throws WriterException;
43  
44      ISgmlWriter startElement(String name) throws WriterException;
45  
46      ISgmlWriter startElement(String name, UIComponent component)
47              throws WriterException;
48  
49      ISgmlWriter endElement(String name) throws WriterException;
50  
51      ISgmlWriter writeURIAttribute(String name, Object value)
52              throws WriterException;
53  
54      ISgmlWriter writeln() throws WriterException;
55  
56      ISgmlWriter endComponent() throws WriterException;
57  }