Package org.yaml.snakeyaml.constructor
Class SafeConstructor.ConstructYamlMap
- java.lang.Object
-
- org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlMap
-
- All Implemented Interfaces:
Construct
- Enclosing class:
- SafeConstructor
public class SafeConstructor.ConstructYamlMap extends Object implements Construct
-
-
Constructor Summary
Constructors Constructor Description ConstructYamlMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
construct(Node node)
Construct a Java instance with all the properties injected when it is possible.void
construct2ndStep(Node node, Object object)
Apply the second step when constructing recursive structures.
-
-
-
Method Detail
-
construct
public Object construct(Node node)
Description copied from interface:Construct
Construct a Java instance with all the properties injected when it is possible.
-
construct2ndStep
public void construct2ndStep(Node node, Object object)
Description copied from interface:Construct
Apply the second step when constructing recursive structures. Because the instance is already created it can assign a reference to itself.- Specified by:
construct2ndStep
in interfaceConstruct
- Parameters:
node
- composed Nodeobject
- the instance constructed earlier byconstruct(Node node)
for the provided Node
-
-