java.lang.Object
org.yaml.snakeyaml.constructor.BaseConstructor
org.yaml.snakeyaml.constructor.SafeConstructor
- Direct Known Subclasses:
Constructor
public class SafeConstructor extends BaseConstructor
Construct standard Java classes
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSafeConstructor.ConstructUndefinedclassSafeConstructor.ConstructYamlBinaryclassSafeConstructor.ConstructYamlBoolclassSafeConstructor.ConstructYamlFloatclassSafeConstructor.ConstructYamlIntclassSafeConstructor.ConstructYamlMapclassSafeConstructor.ConstructYamlNullclassSafeConstructor.ConstructYamlOmapclassSafeConstructor.ConstructYamlPairsclassSafeConstructor.ConstructYamlSeqclassSafeConstructor.ConstructYamlSetclassSafeConstructor.ConstructYamlStrstatic classSafeConstructor.ConstructYamlTimestamp -
Field Summary
Fields Modifier and Type Field Description static SafeConstructor.ConstructUndefinedundefinedConstructorFields inherited from class org.yaml.snakeyaml.constructor.BaseConstructor
composer, loadingConfig, rootTag, typeDefinitions, typeTags, yamlClassConstructors, yamlConstructors, yamlMultiConstructors -
Constructor Summary
Constructors Constructor Description SafeConstructor()SafeConstructor(LoaderOptions loadingConfig) -
Method Summary
Modifier and Type Method Description protected voidconstructMapping2ndStep(MappingNode node, java.util.Map<java.lang.Object,java.lang.Object> mapping)protected voidconstructSet2ndStep(MappingNode node, java.util.Set<java.lang.Object> set)protected static java.lang.NumbercreateLongOrBigInteger(java.lang.String number, int radix)protected voidflattenMapping(MappingNode node)protected voidprocessDuplicateKeys(MappingNode node)Methods inherited from class org.yaml.snakeyaml.constructor.BaseConstructor
addTypeDescription, checkData, constructArray, constructArrayStep2, constructDocument, constructMapping, constructObject, constructObjectNoCheck, constructScalar, constructSequence, constructSequenceStep2, constructSet, constructSet, createArray, createDefaultList, createDefaultMap, createDefaultSet, finalizeConstruction, getConstructor, getData, getPropertyUtils, getSingleData, isAllowDuplicateKeys, isExplicitPropertyUtils, isWrappedToRootException, newInstance, newInstance, newInstance, newList, newMap, newSet, postponeMapFilling, postponeSetFilling, setAllowDuplicateKeys, setComposer, setPropertyUtils, setWrappedToRootException
-
Field Details
-
Constructor Details
-
SafeConstructor
public SafeConstructor() -
SafeConstructor
-
-
Method Details
-
flattenMapping
-
processDuplicateKeys
-
constructMapping2ndStep
protected void constructMapping2ndStep(MappingNode node, java.util.Map<java.lang.Object,java.lang.Object> mapping)- Overrides:
constructMapping2ndStepin classBaseConstructor
-
constructSet2ndStep
- Overrides:
constructSet2ndStepin classBaseConstructor
-
createLongOrBigInteger
protected static java.lang.Number createLongOrBigInteger(java.lang.String number, int radix)
-