org.apache.myfaces.extensions.validator.core.initializer.configuration
Interface StaticConfiguration<T,R>

All Known Implementing Classes:
StaticInMemoryConfiguration, StaticResourceBundleConfiguration

public interface StaticConfiguration<T,R>

Allows to provide static configurations (mappings). The config format depends on the implementation.

Since:
1.x.1

Method Summary
 List<StaticConfigurationEntry<T,R>> getMapping()
          Returns all config entries found in the specified config.
 void setSourceOfMapping(String path)
          Specify the location where the configuration can be found.
 

Method Detail

setSourceOfMapping

void setSourceOfMapping(String path)
Specify the location where the configuration can be found.

Parameters:
path - file location of the configuration.

getMapping

List<StaticConfigurationEntry<T,R>> getMapping()
Returns all config entries found in the specified config.

Returns:
List of configuration entries.


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