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 java.lang.String RENDERER_TYPE
           
 
Constructor Summary
DocumentBodyRenderer()
           
 
Method Summary
protected  java.lang.Class getDocumentClass()
           
protected  java.lang.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 java.lang.String RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

DocumentBodyRenderer

public DocumentBodyRenderer()
Method Detail

getHtmlTag

protected java.lang.String getHtmlTag()
Specified by:
getHtmlTag in class AbstractDocumentRenderer

getDocumentClass

protected java.lang.Class getDocumentClass()
Specified by:
getDocumentClass in class AbstractDocumentRenderer

openTag

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

writeBeforeEnd

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


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