Top Description Fields Constructors Methods
org.snakeyaml.engine.v2.constructor

public abstract Class ConstructScalar

extends Object
implements ConstructNode
Class Inheritance
All Implemented Interfaces
org.snakeyaml.engine.v2.api.ConstructNode
Known Direct Subclasses
org.snakeyaml.engine.v2.constructor.ConstructYamlNull, org.snakeyaml.engine.v2.constructor.StandardConstructor.ConstructYamlStr, org.snakeyaml.engine.v2.constructor.StandardConstructor.ConstructEnv, org.snakeyaml.engine.v2.constructor.core.ConstructYamlCoreBool, org.snakeyaml.engine.v2.constructor.core.ConstructYamlCoreInt, org.snakeyaml.engine.v2.constructor.json.ConstructOptionalClass, org.snakeyaml.engine.v2.constructor.json.ConstructUuidClass, org.snakeyaml.engine.v2.constructor.json.ConstructYamlBinary, org.snakeyaml.engine.v2.constructor.json.ConstructYamlJsonBool, org.snakeyaml.engine.v2.constructor.json.ConstructYamlJsonFloat, org.snakeyaml.engine.v2.constructor.json.ConstructYamlJsonInt
Imports
java.util.HashMap, .Map, org.snakeyaml.engine.v2.api.ConstructNode, org.snakeyaml.engine.v2.nodes.Node, .ScalarNode

Share common code for scalar constructs

Field Summary

Modifier and TypeField and Description
protected static final Map<String, Boolean>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected String

Returns:

value of the scalar node
constructScalar
(Node
- the source
node
)

Create String from the provided scalar node

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BOOL_VALUESback to summary
protected static final Map<String, Boolean> BOOL_VALUES

Constructor Detail

ConstructScalarback to summary
public ConstructScalar()

Method Detail

constructScalarback to summary
protected String constructScalar(Node node)

Create String from the provided scalar node

Parameters
node:Node

- the source

Returns:String

value of the scalar node