public class CompactConstructor.ConstructCompactObject extends Constructor.ConstructMapping
Constructor and Description |
---|
CompactConstructor.ConstructCompactObject() |
Modifier and Type | Method and Description |
---|---|
Object |
construct(Node node)
Construct JavaBean.
|
void |
construct2ndStep(Node node,
Object object)
Apply the second step when constructing recursive structures.
|
constructJavaBean2ndStep, createEmptyJavaBean, getProperty
public CompactConstructor.ConstructCompactObject()
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–2015. All rights reserved.