org.yaml.snakeyaml.constructor
Class CustomClassLoaderConstructor
java.lang.Object
org.yaml.snakeyaml.constructor.BaseConstructor
org.yaml.snakeyaml.constructor.SafeConstructor
org.yaml.snakeyaml.constructor.Constructor
org.yaml.snakeyaml.constructor.CustomClassLoaderConstructor
public class CustomClassLoaderConstructor
- extends Constructor
Construct instances with a custom Class Loader.
Methods inherited from class org.yaml.snakeyaml.constructor.BaseConstructor |
checkData, constructMapping, constructObject, constructScalar, constructSequence, constructSequenceStep2, constructSet, createDefaultList, createDefaultMap, createDefaultSet, getConstructor, getData, getSingleData, setComposer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomClassLoaderConstructor
public CustomClassLoaderConstructor(ClassLoader cLoader)
CustomClassLoaderConstructor
public CustomClassLoaderConstructor(Class<? extends Object> theRoot,
ClassLoader theLoader)
getClassForName
protected Class<?> getClassForName(String name)
throws ClassNotFoundException
- Overrides:
getClassForName
in class Constructor
- Throws:
ClassNotFoundException
Copyright © 2008-2010. All Rights Reserved.