Package org.yaml.snakeyaml.constructor
Class Constructor.ConstructYamlObject
java.lang.Object
org.yaml.snakeyaml.constructor.Constructor.ConstructYamlObject
- All Implemented Interfaces:
Construct
- Enclosing class:
Constructor
Construct an instance when the runtime class is not known but a global tag with a class name is
defined. It delegates the construction to the appropriate constructor based on the node kind
(scalar, sequence, mapping)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConstructYamlObject
protected ConstructYamlObject()
-
-
Method Details
-
construct
Description copied from interface:ConstructConstruct a Java instance with all the properties injected when it is possible. -
construct2ndStep
Description copied from interface:ConstructApply the second step when constructing recursive structures. Because the instance is already created it can assign a reference to itself.- Specified by:
construct2ndStepin interfaceConstruct- Parameters:
node- composed Nodeobject- the instance constructed earlier byconstruct(Node node)for the provided Node
-