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
Share common code for scalar constructs
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
constructScalar
(Node node) Create String from the provided scalar nodeMethods 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
-
Field Details
-
BOOL_VALUES
-
-
Constructor Details
-
ConstructScalar
public ConstructScalar()
-
-
Method Details
-
constructScalar
Create String from the provided scalar node- Parameters:
node
- - the source- Returns:
- value of the scalar node
-