Package org.yaml.snakeyaml.constructor
Class Constructor.ConstructScalar
- java.lang.Object
-
- org.yaml.snakeyaml.constructor.AbstractConstruct
-
- org.yaml.snakeyaml.constructor.Constructor.ConstructScalar
-
- All Implemented Interfaces:
Construct
- Enclosing class:
- Constructor
protected class Constructor.ConstructScalar extends AbstractConstruct
Construct scalar instance when the runtime class is known. Recursive structures are not supported.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConstructScalar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
construct(Node nnode)
Construct a Java instance with all the properties injected when it is possible.private java.lang.Object
constructStandardJavaInstance(java.lang.Class type, ScalarNode node)
-
Methods inherited from class org.yaml.snakeyaml.constructor.AbstractConstruct
construct2ndStep
-
-
-
-
Method Detail
-
construct
public java.lang.Object construct(Node nnode)
Description copied from interface:Construct
Construct a Java instance with all the properties injected when it is possible.- Parameters:
nnode
- composed Node- Returns:
- a complete Java instance
-
constructStandardJavaInstance
private java.lang.Object constructStandardJavaInstance(java.lang.Class type, ScalarNode node)
-
-