org.apache.myfaces.custom.document
Class DocumentBodyRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.custom.document.AbstractDocumentRenderer
          extended by org.apache.myfaces.custom.document.DocumentBodyRenderer

public class DocumentBodyRenderer
extends AbstractDocumentRenderer

Document to enclose the whole document. If not otherwise possible you can use state="start|end" to demarkate the document boundaries

Version:
$Revision: 943960 $ $Date: 2010-05-13 13:10:45 -0500 (Thu, 13 May 2010) $
Author:
Mario Ivankovits (latest modification by $Author: lu4242 $)

Field Summary
static String RENDERER_TYPE
           
 
Constructor Summary
DocumentBodyRenderer()
           
 
Method Summary
protected  Class getDocumentClass()
           
protected  String getHtmlTag()
           
protected  void openTag(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent uiComponent)
           
protected  void writeBeforeEnd(javax.faces.context.FacesContext facesContext)
           
 
Methods inherited from class org.apache.myfaces.custom.document.AbstractDocumentRenderer
closeTag, encodeBegin, encodeEnd
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeChildren, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RENDERER_TYPE

public static final String RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

DocumentBodyRenderer

public DocumentBodyRenderer()
Method Detail

getHtmlTag

protected String getHtmlTag()
Specified by:
getHtmlTag in class AbstractDocumentRenderer

getDocumentClass

protected Class getDocumentClass()
Specified by:
getDocumentClass in class AbstractDocumentRenderer

openTag

protected void openTag(javax.faces.context.ResponseWriter writer,
                       javax.faces.component.UIComponent uiComponent)
                throws IOException
Overrides:
openTag in class AbstractDocumentRenderer
Throws:
IOException

writeBeforeEnd

protected void writeBeforeEnd(javax.faces.context.FacesContext facesContext)
                       throws IOException
Overrides:
writeBeforeEnd in class AbstractDocumentRenderer
Throws:
IOException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.