public abstract class RendererWrapper extends Renderer implements FacesWrapper<Renderer>
PASSTHROUGH_RENDERER_LOCALNAME_KEY
Constructor and Description |
---|
RendererWrapper()
Deprecated.
|
RendererWrapper(Renderer delegate) |
Modifier and Type | Method and Description |
---|---|
String |
convertClientId(FacesContext context,
String clientId) |
void |
decode(FacesContext context,
UIComponent component) |
void |
encodeBegin(FacesContext context,
UIComponent component) |
void |
encodeChildren(FacesContext context,
UIComponent component)
Render all children if there are any.
|
void |
encodeEnd(FacesContext context,
UIComponent component) |
Object |
getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue) |
boolean |
getRendersChildren()
Switch for deciding who renders the children.
|
Renderer |
getWrapped()
A class that implements this interface uses this method to return an instance of the class being wrapped.
|
@Deprecated public RendererWrapper()
public RendererWrapper(Renderer delegate)
public void decode(FacesContext context, UIComponent component)
public void encodeBegin(FacesContext context, UIComponent component) throws IOException
encodeBegin
in class Renderer
IOException
- if an input/output error occurs while renderingpublic void encodeChildren(FacesContext context, UIComponent component) throws IOException
Renderer
encodeChildren
in class Renderer
IOException
public void encodeEnd(FacesContext context, UIComponent component) throws IOException
encodeEnd
in class Renderer
IOException
- if an input/output error occurs while renderingpublic String convertClientId(FacesContext context, String clientId)
convertClientId
in class Renderer
public boolean getRendersChildren()
Renderer
getRendersChildren
in class Renderer
public Object getConvertedValue(FacesContext context, UIComponent component, Object submittedValue) throws ConverterException
getConvertedValue
in class Renderer
ConverterException
public Renderer getWrapped()
FacesWrapper
getWrapped
in interface FacesWrapper<Renderer>
Copyright © 2020 The Apache Software Foundation. All rights reserved.