public abstract class WidgetTypeHandler extends javax.faces.view.facelets.TagHandler
Constructor and Description |
---|
WidgetTypeHandler(javax.faces.view.facelets.TagConfig config) |
Modifier and Type | Method and Description |
---|---|
abstract void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
Widget widget)
Returns the facelet handler that will be applied for given widget and template in this context.
|
abstract javax.faces.view.facelets.FaceletHandler |
getDevFaceletHandler(javax.faces.view.facelets.TagConfig tagConfig,
Widget widget)
Returns the facelet handler used for dev mode.
|
abstract String |
getProperty(String name)
Returns a property value given its name.
|
abstract void |
setProperties(Map<String,String> properties)
Set properties
|
abstract void |
setWidget(Widget widget) |
getAttribute, getRequiredAttribute, toString
public WidgetTypeHandler(javax.faces.view.facelets.TagConfig config)
public abstract void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, Widget widget) throws WidgetException, IOException
ctx
- the facelet context in which this handler will be applied.parent
- parent component in the JSF treewidget
- the widget giving properties the handler will take into account.WidgetException
IOException
public abstract javax.faces.view.facelets.FaceletHandler getDevFaceletHandler(javax.faces.view.facelets.TagConfig tagConfig, Widget widget) throws WidgetException
WidgetException
public abstract String getProperty(String name)
public abstract void setProperties(Map<String,String> properties)
Copyright © 2017 Nuxeo. All rights reserved.