Imports a class so it can be referenced by its simple name in EL expressions. The argument must be a fully qualified class name. @param className the fully qualified class name to import @throws ELException if the class name is invalid or conflicts with an existing import
(String className)
| 141 | * @throws ELException if the class name is invalid or conflicts with an existing import |
| 142 | */ |
| 143 | public void importClass(String className) throws ELException { |
| 144 | getELContext().getImportHandler().importClass(className); |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Imports all classes from a package so they can be referenced by their simple names |