org.apache.myfaces.extensions.validator.core.metadata.extractor
Interface ComponentMetaDataExtractorFactory

All Known Implementing Classes:
DefaultComponentMetaDataExtractorFactory

public interface ComponentMetaDataExtractorFactory

The interface for all factories which create MetaDataExtractors.

Since:
1.x.1

Method Summary
 MetaDataExtractor create()
          Creates a stateless extractor which extracts meta-data.
 MetaDataExtractor createWith(Map<String,Object> properties)
          Creates a stateless extractor which extracts meta-data.
 

Method Detail

create

MetaDataExtractor create()
Creates a stateless extractor which extracts meta-data. The factory should cache the result instance for performance reasons.

Returns:
a stateless extractor which extracts meta-data

createWith

MetaDataExtractor createWith(Map<String,Object> properties)
Creates a stateless extractor which extracts meta-data. The factory should cache the result instance for performance reasons.

Parameters:
properties - Properties which should be added to the resulting PropertyInformation - e.g. meta-information about the current validation module.
Returns:
a stateless extractor which extracts meta-data


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