org.apache.myfaces.orchestra.dynaForm.metadata
Interface Extractor

All Known Implementing Classes:
AbstractJsfExtractor, EjbExtractor, HibernateExtractor, JsfExclusiveExtractor, JsfExtractor, JsfRequestFieldExtractor

public interface Extractor

An interface implemented by objects that can inspect an arbitrary object and extract metadata about its properties.


Method Summary
 void getMetaData(MetaDataWritable metaData, Object entity)
          Get metadata information from the given entity and add it to the provided MetaData object.
 

Method Detail

getMetaData

void getMetaData(MetaDataWritable metaData,
                 Object entity)
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.



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