net.sf.jzeno.echo
Class SimpleConstructionHintsInterpreter

java.lang.Object
  extended by net.sf.jzeno.echo.SimpleConstructionHintsInterpreter
All Implemented Interfaces:
ConstructionHintsInterpreter

public class SimpleConstructionHintsInterpreter
extends java.lang.Object
implements ConstructionHintsInterpreter


Constructor Summary
SimpleConstructionHintsInterpreter()
           
 
Method Summary
 void executeHints(java.lang.Object target, java.lang.String constructionHints)
           A string of hints that consists of a list of comma seperated property assignments, these are executed by this method, in order of occurence on the specified target java bean.
 java.util.Map extractKeyValuePairs(java.lang.String hints)
           Chops up a list of construction hints, and returns a map that associates the property name, with it's value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleConstructionHintsInterpreter

public SimpleConstructionHintsInterpreter()
Method Detail

executeHints

public void executeHints(java.lang.Object target,
                         java.lang.String constructionHints)

A string of hints that consists of a list of comma seperated property assignments, these are executed by this method, in order of occurence on the specified target java bean.

Specified by:
executeHints in interface ConstructionHintsInterpreter

extractKeyValuePairs

public java.util.Map extractKeyValuePairs(java.lang.String hints)

Chops up a list of construction hints, and returns a map that associates the property name, with it's value.

Specified by:
extractKeyValuePairs in interface ConstructionHintsInterpreter