org.apache.myfaces.extensions.validator.core.metadata.extractor
Class DefaultComponentMetaDataExtractorFactory

java.lang.Object
  extended by org.apache.myfaces.extensions.validator.core.metadata.extractor.DefaultComponentMetaDataExtractorFactory
All Implemented Interfaces:
ComponentMetaDataExtractorFactory

public class DefaultComponentMetaDataExtractorFactory
extends Object
implements ComponentMetaDataExtractorFactory

This factory creates a meta-data extractor which extracts the meta-data of the value binding of a component.

order:

  1. configured meta-data extractor (web.xml)
  2. configured meta-data extractor (information provider bean)
  3. default implementation

Since:
1.x.1
Author:
Gerhard Petracek

Constructor Summary
DefaultComponentMetaDataExtractorFactory()
           
 
Method Summary
 MetaDataExtractor create()
          Returns a MetaDataExtractor.
 MetaDataExtractor createWith(Map<String,Object> properties)
          Returns a MetaDataExtractor that add the supplied properties to the PropertyInformation object during extraction of the information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultComponentMetaDataExtractorFactory

public DefaultComponentMetaDataExtractorFactory()
Method Detail

create

public MetaDataExtractor create()
Description copied from interface: ComponentMetaDataExtractorFactory
Returns a MetaDataExtractor. The factory should cache the result instance for performance reasons.

Specified by:
create in interface ComponentMetaDataExtractorFactory
Returns:
MetaDataExtractor.

createWith

public MetaDataExtractor createWith(Map<String,Object> properties)
Description copied from interface: ComponentMetaDataExtractorFactory
Returns a MetaDataExtractor that add the supplied properties to the PropertyInformation object during extraction of the information.

Specified by:
createWith in interface ComponentMetaDataExtractorFactory
Parameters:
properties - Properties to add to the information.
Returns:
MetaDataExtractor.


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