|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.render.Renderer
com.sun.rave.web.ui.renderer.AbstractRenderer
com.sun.rave.web.ui.renderer.MarkupRenderer
public class MarkupRenderer
This class is responsible for rendering any type of XML tag markup.
Field Summary |
---|
Fields inherited from class com.sun.rave.web.ui.renderer.AbstractRenderer |
---|
BUNDLE, EVENTS_ATTRIBUTES, I18N_ATTRIBUTES |
Constructor Summary | |
---|---|
MarkupRenderer()
|
Method Summary | |
---|---|
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render the children of the specified UIComponent
to the output stream or writer associated with the response we are
creating. |
boolean |
getRendersChildren()
The set of String pass-through attributes to be rendered. |
protected void |
renderAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
Render the attributes for the Markup. |
protected void |
renderEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
Write out the Markup. |
protected void |
renderStart(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
Render the start of an Link (Link) tag. |
Methods inherited from class com.sun.rave.web.ui.renderer.AbstractRenderer |
---|
addBooleanAttributes, addCoreAttributes, addIntegerAttributes, addStringAttributes, decode, encodeBegin, encodeEnd, getApplication, getAsObject, getAsString, getExternalContext, getFacesContext, getSubmittedValue, isDisabled, isPortlet, isReadOnly, renderMarkup, setSubmittedValue |
Methods inherited from class javax.faces.render.Renderer |
---|
convertClientId, getConvertedValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarkupRenderer()
Method Detail |
---|
public boolean getRendersChildren()
The set of String pass-through attributes to be rendered.
getRendersChildren
in class javax.faces.render.Renderer
protected void renderStart(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer) throws java.io.IOException
Render the start of an Link (Link) tag.
renderStart
in class AbstractRenderer
context
- FacesContext
for the current requestcomponent
- UIComponent
to be renderedwriter
- ResponseWriter
to which the element
start should be rendered
java.io.IOException
- if an input/output error occursprotected void renderAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer) throws java.io.IOException
Render the attributes for the Markup.
renderAttributes
in class AbstractRenderer
context
- FacesContext
for the current requestcomponent
- UIComponent
to be renderedwriter
- ResponseWriter
to which the element
attributes should be rendered
java.io.IOException
- if an input/output error occurspublic void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
AbstractRenderer
Render the children of the specified UIComponent
to the output stream or writer associated with the response we are
creating.
The default implementation iterates through the children of this component and renders them.
encodeChildren
in class AbstractRenderer
context
- FacesContext
for the current requestcomponent
- UIComponent
to be decoded
java.io.IOException
- if an input/output error occursprotected void renderEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer) throws java.io.IOException
Write out the Markup.
renderEnd
in class AbstractRenderer
context
- FacesContext
for the current requestcomponent
- UIComponent
to be renderedwriter
- ResponseWriter
to which the element
end should be rendered
java.io.IOException
- if an input/output error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |