Construct
public class CompactConstructor.ConstructCompactObject extends Constructor.ConstructMapping
Constructor | Description |
---|---|
ConstructCompactObject() |
Modifier and Type | Method | Description |
---|---|---|
Object |
construct(Node node) |
Construct JavaBean.
|
void |
construct2ndStep(Node node,
Object object) |
Apply the second step when constructing recursive structures.
|
constructJavaBean2ndStep, getProperty
public void construct2ndStep(Node node, Object object)
Construct
construct2ndStep
in interface Construct
construct2ndStep
in class Constructor.ConstructMapping
node
- composed Nodeobject
- the instance constructed earlier by
construct(Node node)
for the provided Nodepublic Object construct(Node node)
Constructor.ConstructMapping
TypeDescription
.construct
in interface Construct
construct
in class Constructor.ConstructMapping
node
- node where the keys are property names (they can only be
String
s) and values are objects to be createdCopyright © 2008–2018. All rights reserved.