Coverage Report - javax.faces.context.ResponseWriter
 
Classes in this File Line Coverage Branch Coverage Complexity
ResponseWriter
100%
2/2
N/A
1
 
 1  
 /*
 2  
  * Copyright 2004-2011 the Seasar Foundation and the Others.
 3  
  *
 4  
  * Licensed under the Apache License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  *     http://www.apache.org/licenses/LICENSE-2.0
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 13  
  * either express or implied. See the License for the specific language
 14  
  * governing permissions and limitations under the License.
 15  
  */
 16  
 package javax.faces.context;
 17  
 
 18  
 import java.io.IOException;
 19  
 import java.io.Writer;
 20  
 
 21  
 import javax.faces.component.UIComponent;
 22  
 
 23  
 /**
 24  
  * @author shot
 25  
  */
 26  
 public abstract class ResponseWriter extends Writer {
 27  
 
 28  431
     public ResponseWriter() {
 29  431
     }
 30  
 
 31  
     public abstract String getContentType();
 32  
 
 33  
     public abstract String getCharacterEncoding();
 34  
 
 35  
     public abstract void flush() throws IOException;
 36  
 
 37  
     public abstract void startDocument() throws IOException;
 38  
 
 39  
     public abstract void endDocument() throws IOException;
 40  
 
 41  
     public abstract void startElement(String name,
 42  
             UIComponent componentForElement) throws IOException;
 43  
 
 44  
     public abstract void endElement(String name) throws IOException;
 45  
 
 46  
     public abstract void writeAttribute(String name, Object value,
 47  
             String property) throws IOException;
 48  
 
 49  
     public abstract void writeURIAttribute(String name, Object value,
 50  
             String property) throws IOException;
 51  
 
 52  
     public abstract void writeComment(Object comment) throws IOException;
 53  
 
 54  
     public abstract void writeText(Object text, String property)
 55  
             throws IOException;
 56  
 
 57  
     public abstract void writeText(char text[], int off, int len)
 58  
             throws IOException;
 59  
 
 60  
     public abstract ResponseWriter cloneWithWriter(Writer writer);
 61  
 
 62  
 }