public class CustomClassLoaderConstructor extends Constructor
Constructor.ConstructMapping, Constructor.ConstructScalar, Constructor.ConstructSequence, Constructor.ConstructYamlObject
SafeConstructor.ConstructUndefined, SafeConstructor.ConstructYamlBinary, SafeConstructor.ConstructYamlBool, SafeConstructor.ConstructYamlFloat, SafeConstructor.ConstructYamlInt, SafeConstructor.ConstructYamlMap, SafeConstructor.ConstructYamlNull, SafeConstructor.ConstructYamlOmap, SafeConstructor.ConstructYamlPairs, SafeConstructor.ConstructYamlSeq, SafeConstructor.ConstructYamlSet, SafeConstructor.ConstructYamlStr, SafeConstructor.ConstructYamlTimestamp
Modifier and Type | Field and Description |
---|---|
private java.lang.ClassLoader |
loader |
undefinedConstructor
composer, constructedObjects, loadingConfig, NOT_INSTANTIATED_OBJECT, rootTag, typeDefinitions, typeTags, yamlClassConstructors, yamlConstructors, yamlMultiConstructors
Constructor and Description |
---|
CustomClassLoaderConstructor(java.lang.Class<? extends java.lang.Object> theRoot,
java.lang.ClassLoader theLoader) |
CustomClassLoaderConstructor(java.lang.ClassLoader cLoader) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class<?> |
getClassForName(java.lang.String name) |
getClassForNode
constructMapping2ndStep, constructSet2ndStep, createLongOrBigInteger, flattenMapping, flattenMapping, processDuplicateKeys, processDuplicateKeys
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, setWrappedToRootException
public CustomClassLoaderConstructor(java.lang.ClassLoader cLoader)
public CustomClassLoaderConstructor(java.lang.Class<? extends java.lang.Object> theRoot, java.lang.ClassLoader theLoader)
protected java.lang.Class<?> getClassForName(java.lang.String name) throws java.lang.ClassNotFoundException
getClassForName
in class Constructor
java.lang.ClassNotFoundException