org.yaml.snakeyaml.constructor
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.ConstructYamlNumber, SafeConstructor.ConstructYamlOmap, SafeConstructor.ConstructYamlPairs, SafeConstructor.ConstructYamlSeq, SafeConstructor.ConstructYamlSet, SafeConstructor.ConstructYamlStr, SafeConstructor.ConstructYamlTimestamp
typeDefinitions
undefinedConstructor
rootTag, yamlClassConstructors, yamlConstructors, yamlMultiConstructors
Constructor and Description |
---|
CustomClassLoaderConstructor(Class<? extends Object> theRoot,
ClassLoader theLoader) |
CustomClassLoaderConstructor(ClassLoader cLoader) |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
getClassForName(String name) |
addTypeDescription, getClassForNode
constructMapping2ndStep, constructSet2ndStep, flattenMapping
checkData, constructArray, constructArrayStep2, constructMapping, constructObject, constructScalar, constructSequence, constructSequenceStep2, constructSet, constructSet, createArray, createDefaultList, createDefaultMap, createDefaultSet, createDefaultSet, getConstructor, getData, getPropertyUtils, getSingleData, isExplicitPropertyUtils, setComposer, setPropertyUtils
public CustomClassLoaderConstructor(ClassLoader cLoader)
public CustomClassLoaderConstructor(Class<? extends Object> theRoot, ClassLoader theLoader)
protected Class<?> getClassForName(String name) throws ClassNotFoundException
getClassForName
in class Constructor
ClassNotFoundException
Copyright © 2008–2015. All rights reserved.