/** * Find all text nodes inside the top level of this body and * if they are just whitespace then remove them * * @deprecated * Trimming is now handled during parsing of the script, like it does in XSLT. */ protected void trimBody() { TagUtils.trimScript(body); }
public Throwable getCause() { return getException(); }
/** * Return the class loader to be used for instantiating application objects * when a context class loader is not specified. This is determined based upon the following rules: * <ul> * <li>The specified class loader, if any</li> * <li>The class loader used to load the calling class. * <li>The System class loader. * </ul> */ public static ClassLoader getClassLoader(ClassLoader specifiedLoader, Class callingClass) { if (specifiedLoader != null) { return specifiedLoader; } return getClassLoader(callingClass); }
/** * Loads the given class using the default class loading mechanism * which is to try use the current Thread's context class loader first * otherise use the class loader which loaded this class. */ protected Class loadClass(String className) throws ClassNotFoundException { return ClassLoaderUtils.loadClass(className, getClass()); }
/** * Loads the given class using the default class loading mechanism * which is to try use the current Thread's context class loader first * otherise use the class loader which loaded this class. */ protected Class loadClass(String className) throws ClassNotFoundException { return ClassLoaderUtils.loadClass(className, getClass()); }
/** * Return the class loader to be used for instantiating application objects * when a context class loader is not specified. This is determined based upon the following rules: * <ul> * <li>The specified class loader, if any</li> * <li>The class loader used to load the calling class. * <li>The System class loader. * </ul> */ public static ClassLoader getClassLoader(ClassLoader specifiedLoader, Class callingClass) { if (specifiedLoader != null) { return specifiedLoader; } return getClassLoader(callingClass); }
/** * Find all text nodes inside the top level of this body and * if they are just whitespace then remove them */ protected void trimBody() { TagUtils.trimScript(body); }
public Throwable getCause() { return getException(); }
/** * Loads the class using either the class loader which loaded me or the * current threads context class loader */ protected Class loadClass() throws ClassNotFoundException { return ClassLoaderUtils.loadClass(className, getClass()); }
/** * Return the class loader to be used for instantiating application objects * when a context class loader is not specified. This is determined based upon the following rules: * <ul> * <li>The specified class loader, if any</li> * <li>The class loader used to load the calling class. * <li>The System class loader. * </ul> */ public static ClassLoader getClassLoader(ClassLoader specifiedLoader, Class callingClass) { if (specifiedLoader != null) { return specifiedLoader; } return getClassLoader(callingClass); }
/** * Find all text nodes inside the top level of this body and * if they are just whitespace then remove them */ protected void trimBody() { TagUtils.trimScript(body); }
public Throwable getCause() { return getException(); }
/** * Loads the given class using the default class loading mechanism * which is to try use the current Thread's context class loader first * otherise use the class loader which loaded this class. */ protected Class loadClass(String className) throws ClassNotFoundException { return ClassLoaderUtils.loadClass(className, getClass()); }
/** * Return the class loader to be used for instantiating application objects * when a context class loader is not specified. This is determined based upon the following rules: * <ul> * <li>The specified class loader, if any</li> * <li>The class loader used to load the calling class. * <li>The System class loader. * </ul> */ public static ClassLoader getClassLoader(ClassLoader specifiedLoader, Class callingClass) { if (specifiedLoader != null) { return specifiedLoader; } return getClassLoader(callingClass); }
/** * Find all text nodes inside the top level of this body and * if they are just whitespace then remove them * * @deprecated * Trimming is now handled during parsing of the script, like it does in XSLT. */ protected void trimBody() { TagUtils.trimScript(body); }
/** * Loads the class using either the class loader which loaded me or the * current threads context class loader */ protected Class loadClass() throws ClassNotFoundException { return ClassLoaderUtils.loadClass(className, getClass()); }
/** * Return the class loader to be used for instantiating application objects * when required. This is determined based upon the following rules: * <ul> * <li>The class loader set by <code>setClassLoader()</code>, if any</li> * <li>The thread context class loader, if it exists and the * <code>useContextClassLoader</code> property is set to true</li> * <li>The class loader used to load the XMLParser class itself. * </ul> */ public ClassLoader getClassLoader() { return ClassLoaderUtils.getClassLoader(classLoader, useContextClassLoader, getClass()); }
/** * Loads the class using either the class loader which loaded me or the * current threads context class loader */ protected Class loadClass() throws ClassNotFoundException { return ClassLoaderUtils.loadClass(className, getClass()); }
/** * Loads the given class using the default class loading mechanism * which is to try use the current Thread's context class loader first * otherise use the class loader which loaded this class. */ protected Class loadClass(String className) throws ClassNotFoundException { return ClassLoaderUtils.loadClass(className, getClass()); }
/** * Loads the class using either the class loader which loaded me or the * current threads context class loader */ protected Class loadClass() throws ClassNotFoundException { return ClassLoaderUtils.loadClass(className, getClass()); }