public class SafeConstructor extends BaseConstructor
| Modifier and Type | Class and Description |
|---|---|
static class |
SafeConstructor.ConstructUndefined |
class |
SafeConstructor.ConstructYamlBinary |
class |
SafeConstructor.ConstructYamlBool |
class |
SafeConstructor.ConstructYamlFloat |
class |
SafeConstructor.ConstructYamlInt |
class |
SafeConstructor.ConstructYamlMap |
class |
SafeConstructor.ConstructYamlNull |
class |
SafeConstructor.ConstructYamlOmap |
class |
SafeConstructor.ConstructYamlPairs |
class |
SafeConstructor.ConstructYamlSeq |
class |
SafeConstructor.ConstructYamlSet |
class |
SafeConstructor.ConstructYamlStr |
static class |
SafeConstructor.ConstructYamlTimestamp |
| Modifier and Type | Field and Description |
|---|---|
static SafeConstructor.ConstructUndefined |
undefinedConstructor |
composer, loadingConfig, NOT_INSTANTIATED_OBJECT, rootTag, typeDefinitions, typeTags, yamlClassConstructors, yamlConstructors, yamlMultiConstructors| Constructor and Description |
|---|
SafeConstructor()
Deprecated.
use options
|
SafeConstructor(LoaderOptions loadingConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
constructMapping2ndStep(MappingNode node,
Map<Object,Object> mapping)
Fill provided Map with constructed data
|
protected void |
constructSet2ndStep(MappingNode node,
Set<Object> set) |
protected static Number |
createLongOrBigInteger(String number,
int radix) |
protected void |
flattenMapping(MappingNode node) |
protected void |
flattenMapping(MappingNode node,
boolean forceStringKeys) |
protected void |
processDuplicateKeys(MappingNode node) |
protected void |
processDuplicateKeys(MappingNode node,
boolean forceStringKeys) |
addTypeDescription, checkData, constructArray, constructArrayStep2, constructDocument, constructMapping, constructObject, constructObjectNoCheck, constructScalar, constructSequence, constructSequenceStep2, constructSet, constructSet, createArray, createDefaultList, createDefaultMap, createDefaultSet, finalizeConstruction, getConstructor, getData, getPropertyUtils, getSingleData, isAllowDuplicateKeys, isEnumCaseSensitive, isExplicitPropertyUtils, isWrappedToRootException, newInstance, newInstance, newInstance, newList, newMap, newSet, postponeMapFilling, postponeSetFilling, setAllowDuplicateKeys, setComposer, setEnumCaseSensitive, setPropertyUtils, setWrappedToRootExceptionpublic static final SafeConstructor.ConstructUndefined undefinedConstructor
@Deprecated public SafeConstructor()
public SafeConstructor(LoaderOptions loadingConfig)
protected void flattenMapping(MappingNode node)
protected void flattenMapping(MappingNode node, boolean forceStringKeys)
protected void processDuplicateKeys(MappingNode node)
protected void processDuplicateKeys(MappingNode node, boolean forceStringKeys)
protected void constructMapping2ndStep(MappingNode node, Map<Object,Object> mapping)
BaseConstructorconstructMapping2ndStep in class BaseConstructornode - - sourcemapping - - map to fillprotected void constructSet2ndStep(MappingNode node, Set<Object> set)
constructSet2ndStep in class BaseConstructorCopyright © 2008–2022. All rights reserved.