本文整理汇总了Java中javax.faces.render.Renderer.decode方法的典型用法代码示例。如果您正苦于以下问题:Java Renderer.decode方法的具体用法?Java Renderer.decode怎么用?Java Renderer.decode使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类javax.faces.render.Renderer
的用法示例。
在下文中一共展示了Renderer.decode方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: __rendererDecode
import javax.faces.render.Renderer; //导入方法依赖的package包/类
void __rendererDecode(FacesContext context)
{
_cacheRenderer(context);
Renderer renderer = getRenderer(context);
// if there is a Renderer for this component
if (renderer != null)
{
renderer.decode(context, this);
}
}
示例2: decode
import javax.faces.render.Renderer; //导入方法依赖的package包/类
@Override
public void decode(final FacesContext facesContext, final UIComponent component) {
super.decode(facesContext, component);
RenderKit localRenderKit = facesContext.getRenderKit();
Renderer localRenderer = localRenderKit.getRenderer("javax.faces.Data", "com.ibm.xsp.TableEx");
localRenderer.decode(facesContext, component);
}
示例3: decode
import javax.faces.render.Renderer; //导入方法依赖的package包/类
@Override
public void decode(FacesContext context, UIComponent component) {
// shouldn't usually happen, but default implementation provided in case of unusual use-cases,
// like if some rendered property computation means that the control is not initially visible
// during the encode phase but it then evaluates differently in the decode phase so that the control is decoded.
String newRendererType = detectNewRendererType(context, component);
Renderer delegate = findDelegate(context, component, newRendererType);
delegate.decode(context, component);
}