Class YamlConstructor

java.lang.Object
org.yaml.snakeyaml.constructor.BaseConstructor
org.yaml.snakeyaml.constructor.SafeConstructor
org.bukkit.configuration.file.YamlConstructor

public class YamlConstructor extends org.yaml.snakeyaml.constructor.SafeConstructor
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.yaml.snakeyaml.constructor.SafeConstructor

    org.yaml.snakeyaml.constructor.SafeConstructor.ConstructUndefined, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlBinary, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlBool, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlFloat, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlInt, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlMap, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlNull, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlOmap, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlPairs, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlSeq, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlSet, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlStr, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlTimestamp
  • Field Summary

    Fields inherited from class org.yaml.snakeyaml.constructor.SafeConstructor

    undefinedConstructor

    Fields inherited from class org.yaml.snakeyaml.constructor.BaseConstructor

    composer, loadingConfig, NOT_INSTANTIATED_OBJECT, rootTag, typeDefinitions, typeTags, yamlClassConstructors, yamlConstructors, yamlMultiConstructors
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    options required
    YamlConstructor(org.yaml.snakeyaml.LoaderOptions loaderOptions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    construct(org.yaml.snakeyaml.nodes.Node node)
     
    void
    flattenMapping(org.yaml.snakeyaml.nodes.MappingNode node)
     

    Methods inherited from class org.yaml.snakeyaml.constructor.SafeConstructor

    constructMapping2ndStep, constructSet2ndStep, createLongOrBigInteger, flattenMapping, processDuplicateKeys, processDuplicateKeys

    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, getLoadingConfig, getPropertyUtils, getSingleData, isAllowDuplicateKeys, isEnumCaseSensitive, isExplicitPropertyUtils, isWrappedToRootException, newInstance, newInstance, newInstance, newList, newMap, newSet, postponeMapFilling, postponeSetFilling, setAllowDuplicateKeys, setComposer, setEnumCaseSensitive, setPropertyUtils, setWrappedToRootException

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • YamlConstructor

      @Deprecated(since="1.19.4") public YamlConstructor()
      Deprecated.
      options required
    • YamlConstructor

      public YamlConstructor(@NotNull org.yaml.snakeyaml.LoaderOptions loaderOptions)
  • Method Details

    • flattenMapping

      public void flattenMapping(@NotNull org.yaml.snakeyaml.nodes.MappingNode node)
      Overrides:
      flattenMapping in class org.yaml.snakeyaml.constructor.SafeConstructor
    • construct

      @Nullable public Object construct(@NotNull org.yaml.snakeyaml.nodes.Node node)