org.apache.myfaces.custom.document
Class AbstractDocumentRenderer
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.custom.document.AbstractDocumentRenderer
- Direct Known Subclasses:
- DocumentBodyRenderer, DocumentHeadRenderer, DocumentRenderer
public abstract class AbstractDocumentRenderer
- extends javax.faces.render.Renderer
Base class to handle the document family
- Version:
- $Revision: 673833 $ $Date: 2008-07-03 16:58:05 -0500 (Thu, 03 Jul 2008) $
- Author:
- Mario Ivankovits (latest modification by $Author: skitching $)
Method Summary |
protected void |
closeTag(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer)
|
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
|
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
|
protected abstract Class |
getDocumentClass()
|
protected abstract 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 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 |
AbstractDocumentRenderer
public AbstractDocumentRenderer()
getHtmlTag
protected abstract String getHtmlTag()
getDocumentClass
protected abstract Class getDocumentClass()
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
- Overrides:
encodeBegin
in class javax.faces.render.Renderer
- Throws:
IOException
openTag
protected void openTag(javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent uiComponent)
throws IOException
- Throws:
IOException
closeTag
protected void closeTag(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer)
throws IOException
- Throws:
IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
- Overrides:
encodeEnd
in class javax.faces.render.Renderer
- Throws:
IOException
writeBeforeEnd
protected void writeBeforeEnd(javax.faces.context.FacesContext facesContext)
throws IOException
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.