| Package | Description |
|---|---|
| org.zkoss.util.resource |
Resources and their locators and loaders.
|
| org.zkoss.xel.taglib |
Utilities to access taglibs, aka., the TLD files.
|
| org.zkoss.xel.util |
Utilties of XEL expressions.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
XMLResourcesLocator
Represents a locator used to locate XML resources.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClassLocator
The locator searches the current thread's context class loader,
and then this class's class loader.
|
| Modifier and Type | Method and Description |
|---|---|
static Locator |
Locators.getDefault()
Returns the default resource locator which is an instance of
ClassLocator. |
| Modifier and Type | Method and Description |
|---|---|
static PropertyBundle |
PropertyBundle.getBundle(String baseName,
Locale locale,
Locator locator)
Gets a resource bundle using the specified
base name, locale, and locator.
|
static PropertyBundle |
PropertyBundle.getBundle(String baseName,
Locale locale,
Locator locator,
boolean caseInsensitive)
Gets a resource bundle using the specified
base name, locale, and locator.
|
static Locators.URLLocation |
Locators.locate(String file,
Locale locale,
Locator locator)
Locates the filename based on the locale.
|
static Locators.StreamLocation |
Locators.locateAsStream(String file,
Locale locale,
Locator locator)
Locates the input stream based on the locale, and returns the info
of StreamLocation.
|
| Constructor and Description |
|---|
PropertyBundle(String baseName,
Locale locale,
Locator locator,
boolean caseInsensitive)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static FunctionMapper |
Taglibs.getFunctionMapper(Collection<Taglib> taglibs,
Locator loc)
Returns the function mapper representing a collection of
Taglib,
or null if nothing is loaded. |
static FunctionMapper |
Taglibs.getFunctionMapper(Collection<Taglib> taglibs,
Map<String,Class<?>> imports,
Collection<FunctionDefinition> funcs,
Locator loc)
Returns the function mapper representing a collection of
Taglib,
imports and functions, or null if nothing is loaded. |
static FunctionMapper |
Taglibs.getFunctionMapper(Collection<Taglib> taglibs,
Map<String,Class<?>> imports,
Locator loc)
Returns the function mapper representing a collection of
Taglib
and imports, or null if nothing is loaded. |
static FunctionMapper |
Taglibs.getFunctionMapper(List<Taglib> taglibs,
Locator loc)
Returns the function mapper representing a list of
Taglib,
or null if nothing is loaded. |
static FunctionMapper |
Taglibs.getFunctionMapper(List<Taglib> taglibs,
Map<String,Class<?>> imports,
List<FunctionDefinition> funcs,
Locator loc)
Returns the function mapper representing a list of
Taglib,
imports and functions, or null if nothing is loaded. |
static FunctionMapper |
Taglibs.getFunctionMapper(List<Taglib> taglibs,
Map<String,Class<?>> imports,
Locator loc)
Returns the function mapper representing a list of
Taglib
and imports, or null if nothing is loaded. |
| Modifier and Type | Method and Description |
|---|---|
void |
TaglibMapper.load(String prefix,
String uri,
Locator locator)
Loads function and class definitions from taglib.
|
void |
TaglibMapper.load(Taglib taglib,
Locator locator)
Loads function and class definitions from taglib.
|
Copyright © 2018. All rights reserved.