|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Builder
This interface represents a builder, which is a facade object that is in charge of building something.
| 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 |
| Method Detail |
|---|
void enterObject(java.lang.String name,
java.lang.String className)
throws BuildException
name - 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
void setValue(java.lang.String name,
java.lang.Object value)
throws BuildException
name - 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
void exitObject()
throws BuildException
BuildException - Thrown if any building error occurs
java.lang.Object getObject()
throws BuildException
BuildException - Thrown if any building error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||