| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.apache.tiles.definition.MockDefinitionsReader
public class MockDefinitionsReader
Mock Defintions Reader implementation. Stubs out all functionality.
| Constructor Summary | |
|---|---|
| MockDefinitionsReader()Creates a new instance of MockDefinitionsReader. | |
| Method Summary | |
|---|---|
| static int | getInstanceCount()Hokey way to verify that this class was created. | 
|  void | init(Map<String,String> params)Initializes the DefinitionsReaderobject. | 
|  Map<String,Definition> | read(Object source)Reads objects from a source. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public MockDefinitionsReader()
| Method Detail | 
|---|
public static int getInstanceCount()
public Map<String,Definition> read(Object source)
                            throws DefinitionsFactoryException
Definition
read in interface DefinitionsReadersource - The source from which definitions will be read.
Definition objects read from
  the source.
DefinitionsFactoryException - if the source is invalid or
  an error occurs when reading definitions.
public void init(Map<String,String> params)
          throws DefinitionsFactoryException
DefinitionsReader object.
 This method must be called before the read(java.lang.Object) method is called.
init in interface DefinitionsReaderparams - A map of properties used to set up the reader.
DefinitionsFactoryException - if required properties are not
  passed in or the initialization fails.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||