public class StandardConstructor extends BaseConstructor
| Modifier and Type | Class and Description |
|---|---|
class |
StandardConstructor.ConstructEnv
Construct scalar for format ${VARIABLE} replacing the template with the value from environment.
|
class |
StandardConstructor.ConstructOptionalClass
Create instances of Optional
|
class |
StandardConstructor.ConstructUuidClass
Create instances of UUID class
|
class |
StandardConstructor.ConstructYamlBinary
Create instances bytes for binary
|
class |
StandardConstructor.ConstructYamlBool
Create Boolean instances
|
class |
StandardConstructor.ConstructYamlFloat
Create Double instances for float
|
class |
StandardConstructor.ConstructYamlInt
Create instances for numbers (Integer, Long, BigInteger)
|
class |
StandardConstructor.ConstructYamlMap
Create Map instance
|
class |
StandardConstructor.ConstructYamlNull
Create null
|
class |
StandardConstructor.ConstructYamlSeq
Create the List implementation (configured in setting)
|
class |
StandardConstructor.ConstructYamlSet
Create Set instances
|
class |
StandardConstructor.ConstructYamlStr
Create String instances
|
settings, tagConstructors| Constructor and Description |
|---|
StandardConstructor(LoadSettings settings)
Create
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
constructMapping2ndStep(org.snakeyaml.engine.v2.nodes.MappingNode node,
Map<Object,Object> mapping)
Fill the mapping with the data from provided node
|
protected void |
constructSet2ndStep(org.snakeyaml.engine.v2.nodes.MappingNode node,
Set<Object> set)
Fill the Map with the data from the node
|
protected void |
flattenMapping(org.snakeyaml.engine.v2.nodes.MappingNode node)
Flattening is not required because merge was removed from YAML 1.2 Only check duplications
|
protected void |
processDuplicateKeys(org.snakeyaml.engine.v2.nodes.MappingNode node)
detect and process the duplicate key in mapping according to the configured setting
|
construct, constructMapping, constructObject, constructObjectNoCheck, constructScalar, constructSequence, constructSequenceStep2, constructSet, constructSingleDocument, createEmptyListForNode, createEmptyMapFor, createEmptySetForNode, findConstructorFor, postponeMapFilling, postponeSetFillingpublic StandardConstructor(LoadSettings settings)
settings - - configuration optionsprotected void flattenMapping(org.snakeyaml.engine.v2.nodes.MappingNode node)
node - - mapping to check the duplicationsprotected void processDuplicateKeys(org.snakeyaml.engine.v2.nodes.MappingNode node)
node - - the sourceprotected void constructMapping2ndStep(org.snakeyaml.engine.v2.nodes.MappingNode node,
Map<Object,Object> mapping)
BaseConstructorconstructMapping2ndStep in class BaseConstructornode - - the sourcemapping - - empty map to be filledprotected void constructSet2ndStep(org.snakeyaml.engine.v2.nodes.MappingNode node,
Set<Object> set)
BaseConstructorconstructSet2ndStep in class BaseConstructornode - - the sourceset - - empty set to fillCopyright © 2018–2022. All rights reserved.