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 java.lang.Object implements ConstructNode
Share common code for scalar constructs
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.Map<java.lang.String,java.lang.Boolean>
BOOL_VALUES
-
Constructor Summary
Constructors Constructor Description ConstructScalar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
constructScalar(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 java.lang.String constructScalar(Node node)
Create String from the provided scalar node- Parameters:
node
- - the source- Returns:
- value of the scalar node
-
-