org.apache.myfaces.trinidadinternal.renderkit.core.xhtml
Class OutputDocumentRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.trinidad.render.CoreRenderer
          extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
              extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ValueRenderer
                  extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.OutputDocumentRenderer
All Implemented Interfaces:
java.lang.Cloneable, org.apache.myfaces.trinidad.render.TypedRenderer

public class OutputDocumentRenderer
extends ValueRenderer

Author:
Simon Lessard, Fujitsu Consulting

Field Summary
 
Fields inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
TRANSPARENT_GIF
 
Fields inherited from class org.apache.myfaces.trinidad.render.CoreRenderer
CHAR_UNDEFINED, NO_CHILD_INDEX
 
Constructor Summary
OutputDocumentRenderer()
           
 
Method Summary
protected  void encodeBegin(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent comp, org.apache.myfaces.trinidad.bean.FacesBean bean)
          
 void encodeEnd(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent comp, org.apache.myfaces.trinidad.bean.FacesBean bean)
          
protected  void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
          
protected  java.lang.String getSeparatorClass(org.apache.myfaces.trinidad.bean.FacesBean bean)
          Gets the separator class of the rendered document.
protected  java.lang.String getTitleClass(org.apache.myfaces.trinidad.bean.FacesBean bean)
          Gets the title class of the rendered document.
protected  void renderStyleAttributes(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, org.apache.myfaces.trinidad.bean.FacesBean bean)
          
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ValueRenderer
getConvertedString, getConverter, getDefaultConverter, getValue, getValueBinding
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
cloneWithType, enableScriptDeferring, getAbsoluteImageUri, getBaseImageUri, getDefaultStyleClass, getInlineStyle, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getShortDesc, getStyleClass, renderAllAttributes, renderAllAttributes, renderDecorativeIcon, renderDecorativeIcon, renderEventHandlers, renderFormattedText, renderHAlign, renderInlineStyle, renderInlineStyleAttribute, renderPossiblyFormattedText, renderScriptDeferAttribute, renderScriptTypeAttribute, renderShortDescAttribute, renderSpacer, renderStyleAttributes, renderTransparent, renderVerticalSpacer, shouldRenderId, skipDecode, supportsAccessKeys, supportsAdvancedForms, supportsAutoCompleteFormElements, supportsDisabledFormElements, supportsEditing, supportsIntrinsicEvents, supportsNavigation, supportsReadonlyFormElements, supportsScripting, supportsSeparateWindow, supportsStyleAttributes, supportsTarget, supportsTextPresentation, supportsXMLDOM
 
Methods inherited from class org.apache.myfaces.trinidad.render.CoreRenderer
delegateRenderer, delegateRendererBegin, delegateRendererEnd, encodeAll, encodeAllChildren, encodeBegin, encodeChild, encodeChildren, encodeEnd, getClientId, getFacesBean, getFacet, getNextRenderedChildIndex, getRenderedChildCount, getRenderingProperty, hasRenderedChildren, isDesktop, isGecko, isIE, isInaccessibleMode, isPDA, isScreenReaderMode, renderEncodedActionURI, renderEncodedResourceURI, renderId, renderStyleClass, renderStyleClasses, setRenderingProperty, toChar, toInt, toLong, toString, toUri
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputDocumentRenderer

public OutputDocumentRenderer()
Method Detail

encodeBegin

protected void encodeBegin(javax.faces.context.FacesContext context,
                           org.apache.myfaces.trinidad.context.RenderingContext arc,
                           javax.faces.component.UIComponent comp,
                           org.apache.myfaces.trinidad.bean.FacesBean bean)
                    throws java.io.IOException

Overrides:
encodeBegin in class org.apache.myfaces.trinidad.render.CoreRenderer
Throws:
java.io.IOException

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context,
                      org.apache.myfaces.trinidad.context.RenderingContext arc,
                      javax.faces.component.UIComponent comp,
                      org.apache.myfaces.trinidad.bean.FacesBean bean)
               throws java.io.IOException

Overrides:
encodeEnd in class org.apache.myfaces.trinidad.render.CoreRenderer
Throws:
java.io.IOException

findTypeConstants

protected void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)

Overrides:
findTypeConstants in class ValueRenderer

getSeparatorClass

protected java.lang.String getSeparatorClass(org.apache.myfaces.trinidad.bean.FacesBean bean)
Gets the separator class of the rendered document. That class will be combined with the skin class, not override it.

Parameters:
bean - the property holder for the rendered document.
Returns:
the separator class for the rendered document or null if none was specified.

getTitleClass

protected java.lang.String getTitleClass(org.apache.myfaces.trinidad.bean.FacesBean bean)
Gets the title class of the rendered document. That class will be combined with the skin class, not override it.

Parameters:
bean - the property holder for the rendered document.
Returns:
the title class for the rendered document or null if none was specified.

renderStyleAttributes

protected void renderStyleAttributes(javax.faces.context.FacesContext context,
                                     org.apache.myfaces.trinidad.context.RenderingContext arc,
                                     org.apache.myfaces.trinidad.bean.FacesBean bean)
                              throws java.io.IOException

Overrides:
renderStyleAttributes in class XhtmlRenderer
Throws:
java.io.IOException


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.