Class ConstructScalar
- java.lang.Object
-
- org.snakeyaml.engine.v2.constructor.ConstructScalar
-
- All Implemented Interfaces:
ConstructNode
- Direct Known Subclasses:
ConstructOptionalClass,ConstructUuidClass,ConstructYamlBinary,ConstructYamlCoreBool,ConstructYamlCoreInt,ConstructYamlJsonBool,ConstructYamlJsonFloat,ConstructYamlJsonInt,ConstructYamlNull,StandardConstructor.ConstructEnv,StandardConstructor.ConstructYamlStr
public abstract class ConstructScalar extends Object implements ConstructNode
Share common code for scalar constructs
-
-
Field Summary
Fields Modifier and Type Field Description protected static Map<String,Boolean>BOOL_VALUES
-
Constructor Summary
Constructors Constructor Description ConstructScalar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringconstructScalar(org.snakeyaml.engine.v2.nodes.Node node)Create String from the provided scalar node-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.snakeyaml.engine.v2.api.ConstructNode
construct, constructRecursive
-
-
-
-
Method Detail
-
constructScalar
protected String constructScalar(org.snakeyaml.engine.v2.nodes.Node node)
Create String from the provided scalar node- Parameters:
node- - the source- Returns:
- value of the scalar node
-
-