P
- The property type.E
- The entity type.public abstract class AbstractOutput<P,E> extends Object implements TablePropertyDescriptorRenderStrategy<P,E>
TablePropertyDescriptorRenderStrategy.Factory
Constructor and Description |
---|
AbstractOutput(javax.el.ValueExpression modelExpression)
Constructs the text output.
|
Modifier and Type | Method and Description |
---|---|
void |
build(org.lunarray.model.descriptor.model.property.PropertyDescriptor<P,E> property,
RenderContext jsfContext)
Build for a normal descriptor.
|
javax.faces.component.UIOutput |
getLabel()
The property label.
|
protected javax.el.ValueExpression |
getModelExpression()
Gets the value for the modelExpression field.
|
javax.faces.component.UIComponent |
getOutput()
The property output.
|
protected abstract javax.faces.component.UIOutput |
getOutput(org.lunarray.model.descriptor.model.property.PropertyDescriptor<?,?> property,
RenderContext jsfContext)
Sets the output.
|
public AbstractOutput(javax.el.ValueExpression modelExpression)
modelExpression
- The model expression. May not be null.public final void build(org.lunarray.model.descriptor.model.property.PropertyDescriptor<P,E> property, RenderContext jsfContext)
build
in interface TablePropertyDescriptorRenderStrategy<P,E>
property
- The property. May not be null.jsfContext
- The context. May not be null.public final javax.faces.component.UIOutput getLabel()
getLabel
in interface TablePropertyDescriptorRenderStrategy<P,E>
public final javax.faces.component.UIComponent getOutput()
getOutput
in interface TablePropertyDescriptorRenderStrategy<P,E>
protected final javax.el.ValueExpression getModelExpression()
protected abstract javax.faces.component.UIOutput getOutput(org.lunarray.model.descriptor.model.property.PropertyDescriptor<?,?> property, RenderContext jsfContext)
property
- The property.jsfContext
- The context.Copyright © 2010–2014 Lunar Ray. All rights reserved.