|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.orchestra.dynaForm.metadata.impl.jsf.AbstractJsfExtractor
public abstract class AbstractJsfExtractor
Extract metadata from a DynaForm UIComponent.
This looks for child DynaConfig components attached to the DynaForm and merges any overrides they declare with the current values of a MetaData object. This allows basic information about an entity to be determined by other means, then for any components attached to the DynaForm component to override those settings.
| Constructor Summary | |
|---|---|
AbstractJsfExtractor()
|
|
| Method Summary | |
|---|---|
protected void |
create(MetaDataWritable metaData,
DynaForm dynaForm)
create the metadata out of the dynaConfigs for the given component |
void |
getMetaData(MetaDataWritable metaData,
Object entity)
Copy metadata overrides attached to a DynaForm UIComponent into an existing MetaData instance. |
protected abstract void |
initFromConfig(MetaFieldWritable field,
DynaConfig config)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractJsfExtractor()
| Method Detail |
|---|
public void getMetaData(MetaDataWritable metaData,
Object entity)
The specified entity must be an instance of DynaForm (a JSF UIComponent).
getMetaData in interface Extractor
protected void create(MetaDataWritable metaData,
DynaForm dynaForm)
protected abstract void initFromConfig(MetaFieldWritable field,
DynaConfig config)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||