|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.forms.layout.facelets.plugins.AbstractWidgetTypeHandler
public abstract class AbstractWidgetTypeHandler
Abstract widget type handler.
Constructor Summary | |
---|---|
AbstractWidgetTypeHandler()
|
Method Summary | |
---|---|
abstract com.sun.facelets.FaceletHandler |
getFaceletHandler(com.sun.facelets.FaceletContext ctx,
com.sun.facelets.tag.TagConfig tagConfig,
Widget widget,
com.sun.facelets.FaceletHandler[] subHandlers)
Returns the facelet handler that will be applied for given widget and template in this context. |
java.lang.String |
getProperty(java.lang.String name)
Returns a property value given its name. |
java.lang.String |
getRequiredProperty(java.lang.String name)
Helper method, throws an exception if property value is null. |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Set properties |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractWidgetTypeHandler()
Method Detail |
---|
public abstract com.sun.facelets.FaceletHandler getFaceletHandler(com.sun.facelets.FaceletContext ctx, com.sun.facelets.tag.TagConfig tagConfig, Widget widget, com.sun.facelets.FaceletHandler[] subHandlers) throws WidgetException
WidgetTypeHandler
getFaceletHandler
in interface WidgetTypeHandler
ctx
- the facelet context in which this handler will be applied.tagConfig
- the tag configuration this facelet will be applied for.widget
- the widget giving properties the handler will take into
account.subHandlers
- facelet handlers for sub widgets.
WidgetException
public java.lang.String getProperty(java.lang.String name)
WidgetTypeHandler
getProperty
in interface WidgetTypeHandler
public java.lang.String getRequiredProperty(java.lang.String name) throws WidgetException
WidgetException
public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
WidgetTypeHandler
setProperties
in interface WidgetTypeHandler
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |