com.martiansoftware.jsap
Interface DefaultSource

All Known Implementing Classes:
PropertyDefaultSource

public interface DefaultSource

An interface describing an object as being able to produce a set of default values.

Author:
Marty Lamb
See Also:
Defaults

Method Summary
 Defaults getDefaults(IDMap idMap, ExceptionMap exceptionMap)
          Returns a set of default values given the configuration described by the specified IDMap.
 

Method Detail

getDefaults

public Defaults getDefaults(IDMap idMap,
                            ExceptionMap exceptionMap)
Returns a set of default values given the configuration described by the specified IDMap. Any encountered exceptions are stored in the specified JSAPResult.

Parameters:
idMap - an IDMap containing JSAP configuration information.
exceptionMap - the ExceptionMap object within which any Exceptions will be returned.
Returns:
a set of default values given the configuration described by the specified IDMap.
See Also:
ExceptionMap.addException(String,Exception)


Copyright © 2002-2006, Martian Software, Inc.. All Rights Reserved.
For the latest version and documentation, please visit http://www.martiansoftware.com/jsap