public class ModeFactory extends java.lang.Object implements ManifestFactoryBuilder
| Constructor and Description | 
|---|
| ModeFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object | createObject(java.util.Map params)ask the builder to create an object based upon the Map parameters | 
| static CallableMode | getCallableMode(java.lang.String name,
               java.lang.String mode)Retrieve a specific mode from the map of modes already parsed | 
| static java.util.Map | getFileKeys(java.lang.String name)Retrieve the Modes for a given key. | 
| static java.util.Collection | getKeys()Retrieve the keys | 
| java.lang.String | getManifestFilename()get the filename associated with this builder
   TODO: probably should be a URL instead
   TODO: probably going to need to generalize this a bit more, so that
         we can have different webapps with different manifest files | 
| static SelectMode | getMode(java.lang.String name,
       java.lang.String mode)Retrieve a specific mode from the map of modes already parsed | 
| static SelectMode | getMode(java.lang.String name,
       java.lang.String mode,
       java.lang.Class clazz)Retrieve a specific mode from the map of modes already parsed. | 
| static WriteMode | getWriteMode(java.lang.String name,
            java.lang.String mode)Retrieve a specific mode from the map of modes already parsed | 
public java.lang.String getManifestFilename()
getManifestFilename in interface ManifestFactoryBuilderpublic java.lang.Object createObject(java.util.Map params)
createObject in interface ManifestFactoryBuilderparams - Map of parameters to produce this Factory bypublic static SelectMode getMode(java.lang.String name, java.lang.String mode)
name - The name of the file to search, this is the name as it is
             passed to parseURL.mode - the mode to retrievepublic static SelectMode getMode(java.lang.String name, java.lang.String mode, java.lang.Class clazz)
name - The name of the file to search, this is the name as it is passed
             to parseURL.mode - The mode to retrieveclazz - The class you would like the returned objects to be.public static WriteMode getWriteMode(java.lang.String name, java.lang.String mode)
name - The name of the file to search, this is the name as it is
             passed to parseURL.mode - the mode to retrievepublic static CallableMode getCallableMode(java.lang.String name, java.lang.String mode)
name - The name of the file to search, this is the name as it is
             passed to parseURL.mode - the mode to retrievepublic static java.util.Collection getKeys()
public static java.util.Map getFileKeys(java.lang.String name)
name - of the filemap to retrieve.