Module org.yaml.snakeyaml
Class CompactConstructor.ConstructCompactObject
java.lang.Object
org.yaml.snakeyaml.constructor.Constructor.ConstructMapping
org.yaml.snakeyaml.extensions.compactnotation.CompactConstructor.ConstructCompactObject
- All Implemented Interfaces:
Construct
- Enclosing class:
- CompactConstructor
public class CompactConstructor.ConstructCompactObject extends Constructor.ConstructMapping
-
Constructor Summary
Constructors Constructor Description ConstructCompactObject() -
Method Summary
Modifier and Type Method Description java.lang.Objectconstruct(Node node)Construct JavaBean.voidconstruct2ndStep(Node node, java.lang.Object object)Apply the second step when constructing recursive structures.Methods inherited from class org.yaml.snakeyaml.constructor.Constructor.ConstructMapping
constructJavaBean2ndStep, getProperty
-
Constructor Details
-
ConstructCompactObject
public ConstructCompactObject()
-
-
Method Details
-
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- Overrides:
construct2ndStepin classConstructor.ConstructMapping- Parameters:
node- composed Nodeobject- the instance constructed earlier byconstruct(Node node)for the provided Node
-
construct
Description copied from class:Constructor.ConstructMappingConstruct JavaBean. If type safe collections are used please look atTypeDescription.- Specified by:
constructin interfaceConstruct- Overrides:
constructin classConstructor.ConstructMapping- Parameters:
node- node where the keys are property names (they can only beStrings) and values are objects to be created- Returns:
- constructed JavaBean
-