Class StandardConstructor.ConstructYamlSet
java.lang.Object
org.snakeyaml.engine.v2.constructor.StandardConstructor.ConstructYamlSet
- All Implemented Interfaces:
ConstructNode
- Enclosing class:
StandardConstructor
Create Set instances
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConstructYamlSet
public ConstructYamlSet()
-
-
Method Details
-
construct
Description copied from interface:ConstructNode
Construct a Java instance with all the properties injected when it is possible.- Specified by:
construct
in interfaceConstructNode
- Parameters:
node
- composed Node- Returns:
- a complete Java instance or empty collection instance if it is recursive
-
constructRecursive
Description copied from interface:ConstructNode
Apply the second step when constructing recursive structures. Because the instance is already created it can assign a reference to itself. (no need to implement this method for non-recursive data structures). Fail with a reminder to provide the second step for a recursive structure- Specified by:
constructRecursive
in interfaceConstructNode
- Parameters:
node
- composed Nodeobject
- the instance constructed earlier byconstruct(Node node)
for the provided Node
-