protected class Constructor.ConstructMapping extends java.lang.Object implements Construct
Modifier | Constructor and Description |
---|---|
protected |
ConstructMapping() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
construct(Node node)
Construct JavaBean.
|
void |
construct2ndStep(Node node,
java.lang.Object object)
Apply the second step when constructing recursive structures.
|
protected java.lang.Object |
constructJavaBean2ndStep(MappingNode node,
java.lang.Object object) |
protected Property |
getProperty(java.lang.Class<? extends java.lang.Object> type,
java.lang.String name) |
private java.lang.Object |
newInstance(TypeDescription memberDescription,
java.lang.String propertyName,
Node node) |
public java.lang.Object construct(Node node)
TypeDescription
.public void construct2ndStep(Node node, java.lang.Object object)
Construct
construct2ndStep
in interface Construct
node
- composed Nodeobject
- the instance constructed earlier by construct(Node node)
for the
provided Nodeprotected java.lang.Object constructJavaBean2ndStep(MappingNode node, java.lang.Object object)
private java.lang.Object newInstance(TypeDescription memberDescription, java.lang.String propertyName, Node node)
protected Property getProperty(java.lang.Class<? extends java.lang.Object> type, java.lang.String name)