public class CustomClassLoaderConstructor extends Constructor
Constructor.ConstructMapping, Constructor.ConstructScalar, Constructor.ConstructSequence, Constructor.ConstructYamlObjectSafeConstructor.ConstructUndefined, SafeConstructor.ConstructYamlBinary, SafeConstructor.ConstructYamlBool, SafeConstructor.ConstructYamlFloat, SafeConstructor.ConstructYamlInt, SafeConstructor.ConstructYamlMap, SafeConstructor.ConstructYamlNull, SafeConstructor.ConstructYamlOmap, SafeConstructor.ConstructYamlPairs, SafeConstructor.ConstructYamlSeq, SafeConstructor.ConstructYamlSet, SafeConstructor.ConstructYamlStr, SafeConstructor.ConstructYamlTimestampundefinedConstructorcomposer, loadingConfig, NOT_INSTANTIATED_OBJECT, rootTag, typeDefinitions, typeTags, yamlClassConstructors, yamlConstructors, yamlMultiConstructors| Constructor and Description |
|---|
CustomClassLoaderConstructor(Class<? extends Object> theRoot,
ClassLoader theLoader)
Create
|
CustomClassLoaderConstructor(ClassLoader cLoader)
Create
|
| Modifier and Type | Method and Description |
|---|---|
protected Class<?> |
getClassForName(String name)
Load the class
|
getClassForNodeconstructMapping2ndStep, constructSet2ndStep, createLongOrBigInteger, flattenMapping, flattenMapping, processDuplicateKeys, processDuplicateKeysaddTypeDescription, 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 CustomClassLoaderConstructor(ClassLoader cLoader)
cLoader - the class loader to find the class definitionpublic CustomClassLoaderConstructor(Class<? extends Object> theRoot, ClassLoader theLoader)
theRoot - - the class to instantiatetheLoader - - the class loader to find the class definitionprotected Class<?> getClassForName(String name) throws ClassNotFoundException
getClassForName in class Constructorname - - the nameClassNotFoundException - - when cannot load the classCopyright © 2008–2022. All rights reserved.