Module org.yaml.snakeyaml
Package org.yaml.snakeyaml.constructor
Class Constructor.ConstructSequence
java.lang.Object
org.yaml.snakeyaml.constructor.Constructor.ConstructSequence
- All Implemented Interfaces:
Construct
- Enclosing class:
- Constructor
protected class Constructor.ConstructSequence extends java.lang.Object implements Construct
Construct sequence (List, Array, or immutable object) when the runtime
class is known.
-
Constructor Summary
Constructors Modifier Constructor Description protectedConstructSequence() -
Method Summary
Modifier and Type Method Description java.lang.Objectconstruct(Node node)Construct a Java instance with all the properties injected when it is possible.voidconstruct2ndStep(Node node, java.lang.Object object)Apply the second step when constructing recursive structures.
-
Constructor Details
-
ConstructSequence
protected ConstructSequence()
-
-
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
-