|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.cetia4.controller.support.ConfigurationBuilder
public final class ConfigurationBuilder
An object that builds a configuration instance
| Constructor Summary | |
|---|---|
ConfigurationBuilder(java.util.Map<java.lang.String,java.lang.String> params)
Constructor |
|
| Method Summary | |
|---|---|
void |
enterObject(java.lang.String name,
java.lang.String className)
Add a new object to the builder |
void |
exitObject()
Exit the current object instance. |
java.lang.Object |
getObject()
Get the built object. |
void |
setValue(java.lang.String name,
java.lang.Object value)
Set a value to the current target object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationBuilder(java.util.Map<java.lang.String,java.lang.String> params)
| Method Detail |
|---|
public final void enterObject(java.lang.String name,
java.lang.String className)
throws BuildException
Builder
enterObject in interface Buildername - The not-null not-empty name of the type instanceclassName - The maybe-null class type of the instance
BuildException - Thrown if any building error occurs
public final void setValue(java.lang.String name,
java.lang.Object value)
throws BuildException
Builder
setValue in interface Buildername - The not-null not-empty name of the attribute to be setvalue - The maybe-null value of the given attribute
BuildException - Thrown if any building error occurs
public final void exitObject()
throws BuildException
Builder
exitObject in interface BuilderBuildException - Thrown if any building error occurs
public final java.lang.Object getObject()
throws BuildException
Builder
getObject in interface BuilderBuildException - Thrown if any building error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||