org.apache.myfaces.orchestra.dynaForm.metadata.impl.jsf
Class JsfRequestFieldExtractor

java.lang.Object
  extended by org.apache.myfaces.orchestra.dynaForm.metadata.impl.jsf.JsfRequestFieldExtractor
All Implemented Interfaces:
Extractor

public class JsfRequestFieldExtractor
extends Object
implements Extractor

Extract metadata from jsf form.
This will read all facets with "ff_" name prefix but nothing will be configured. Its just there to collect which fields to show if in exclusiveFieldMode


Constructor Summary
JsfRequestFieldExtractor()
           
 
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)
          Get metadata information from the given entity and add it to the provided MetaData object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsfRequestFieldExtractor

public JsfRequestFieldExtractor()
Method Detail

getMetaData

public void getMetaData(MetaDataWritable metaData,
                        Object entity)
Description copied from interface: Extractor
Get metadata information from the given entity and add it to the provided MetaData object.

Any information is added to the existing info (if any) in the provided MetaData instance. If information conflicts with existing data, then the new data overwrites the old data. A chain of Extractors can therefore be used (in the correct order) to control exactly what metadata applies.

Specified by:
getMetaData in interface Extractor

create

protected void create(MetaDataWritable metaData,
                      DynaForm dynaForm)
create the metadata out of the dynaConfigs for the given component



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.