Package | Description |
---|---|
org.zkoss.util.resource |
Resources and their locators and loaders.
|
org.zkoss.web.servlet |
Servlet relevant utilities.
|
org.zkoss.web.servlet.dsp |
Dynamic Servlet Page (DSP).
|
org.zkoss.web.servlet.dsp.impl |
Classes used to implement DSP.
|
org.zkoss.web.util.resource |
Utilities to access Web resources.
|
org.zkoss.xel.taglib |
Utilities to access taglibs, aka., the TLD files.
|
org.zkoss.xel.util |
Utilties of XEL expressions.
|
org.zkoss.zk.ui | |
org.zkoss.zk.ui.http |
HTTP relevant utilities and servlets for implementing
user interfaces (implementation only).
|
org.zkoss.zk.ui.impl |
Implementation of user interfaces and factories (implementation only).
|
org.zkoss.zk.ui.metainfo |
Metainfo representing pages and languages (implementation only).
|
org.zkoss.zk.ui.sys |
Internal interfaces of user interfaces and factories (behind the scene).
|
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(java.lang.String baseName,
java.util.Locale locale,
Locator locator)
Gets a resource bundle using the specified
base name, locale, and locator.
|
static PropertyBundle |
PropertyBundle.getBundle(java.lang.String baseName,
java.util.Locale locale,
Locator locator,
boolean caseInsensitive)
Gets a resource bundle using the specified
base name, locale, and locator.
|
static Locators.URLLocation |
Locators.locate(java.lang.String file,
java.util.Locale locale,
Locator locator)
Locates the filename based on the locale.
|
static Locators.StreamLocation |
Locators.locateAsStream(java.lang.String file,
java.util.Locale locale,
Locator locator)
Locates the input stream based on the locale, and returns the info
of StreamLocation.
|
Constructor and Description |
---|
PropertyBundle(java.lang.String baseName,
java.util.Locale locale,
Locator locator,
boolean caseInsensitive)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Servlets.locate(javax.servlet.ServletContext ctx,
javax.servlet.ServletRequest request,
java.lang.String pgpath,
Locator locator)
Locates a page based on the current Locale.
|
Modifier and Type | Method and Description |
---|---|
Locator |
ServletDspContext.getLocator() |
Locator |
DspContext.getLocator()
Returns the locator for loading resources, such as taglib.
|
Modifier and Type | Method and Description |
---|---|
void |
Interpreter.interpret(javax.servlet.ServletContext ctx,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String content,
java.lang.String ctype,
Locator locator)
Interprets the specified content based on the HTTP request.
|
void |
Interpreter.interpret(javax.servlet.ServletContext ctx,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.io.Writer out,
java.lang.String content,
java.lang.String ctype,
Locator locator)
Interprets the specified content based on the HTTP request.
|
Interpretation |
Interpreter.parse(java.lang.String content,
java.lang.String ctype,
XelContext xelc,
Locator loc)
Parses a content to a meta format called
Interpretation . |
Constructor and Description |
---|
ServletDspContext(javax.servlet.ServletContext ctx,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Locator locator)
Constructor.
|
ServletDspContext(javax.servlet.ServletContext ctx,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.io.Writer out,
Locator locator)
Constructor with the specified writer.
|
Modifier and Type | Method and Description |
---|---|
Interpretation |
Parser.parse(java.lang.String content,
java.lang.String ctype,
XelContext xelc,
Locator loc)
Parses the content into a meta format
|
Modifier and Type | Class and Description |
---|---|
class |
ServletContextLocator
Locator based on ServletContext.
|
Modifier and Type | Method and Description |
---|---|
Locator |
ClassWebResource.getExtraLocator()
Returns the extra locator, or null if not available.
|
Locator |
ExtendletContext.getLocator()
Returns the locator of this context used to locate resources.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassWebResource.setExtraLocator(Locator loc)
Sets the extra locator.
|
Modifier and Type | Method and Description |
---|---|
static FunctionMapper |
Taglibs.getFunctionMapper(java.util.Collection<Taglib> taglibs,
Locator loc)
Returns the function mapper representing a collection of
Taglib ,
or null if nothing is loaded. |
static FunctionMapper |
Taglibs.getFunctionMapper(java.util.Collection<Taglib> taglibs,
java.util.Map<java.lang.String,java.lang.Class<?>> imports,
java.util.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(java.util.Collection<Taglib> taglibs,
java.util.Map<java.lang.String,java.lang.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(java.util.List<Taglib> taglibs,
Locator loc)
Returns the function mapper representing a list of
Taglib ,
or null if nothing is loaded. |
static FunctionMapper |
Taglibs.getFunctionMapper(java.util.List<Taglib> taglibs,
java.util.Map<java.lang.String,java.lang.Class<?>> imports,
java.util.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(java.util.List<Taglib> taglibs,
java.util.Map<java.lang.String,java.lang.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(java.lang.String prefix,
java.lang.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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
WebApp
Represents a Web application.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleWebApp
A servlet-based Web application.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractWebApp
A skeletal implementation of
WebApp . |
Modifier and Type | Method and Description |
---|---|
Locator |
RequestInfoImpl.getLocator() |
Modifier and Type | Method and Description |
---|---|
void |
RequestInfoImpl.setLocator(Locator locator) |
Constructor and Description |
---|
RequestInfoImpl(Desktop desktop,
java.lang.Object request,
Locator locator)
Constructor.
|
RequestInfoImpl(Execution exec,
Locator locator)
Constructor.
|
RequestInfoImpl(WebApp wapp,
Session sess,
Desktop desktop,
java.lang.Object request,
Locator locator)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Locator |
Parser.getLocator()
returns locator for locating resources.
|
Locator |
PageDefinition.getLocator()
Returns the locator associated with this page definition.
|
static Locator |
PageDefinitions.getLocator(WebApp wapp,
java.lang.String path)
Returns the locator for the specified context.
|
Modifier and Type | Method and Description |
---|---|
static void |
DefinitionLoaders.addAddon(Locator locator,
java.net.URL url)
Adds a language addon.
|
static void |
DefinitionLoaders.addLanguage(Locator locator,
java.net.URL url)
Adds a language.
|
static PageDefinition |
PageDefinitions.getPageDefinition(WebApp wapp,
Locator locator,
java.lang.String path)
Returns the page definition of the specified path, or null if not
found or failed to parse.
|
static PageDefinition |
PageDefinitions.getPageDefinitionDirectly(WebApp wapp,
Locator locator,
Document doc,
java.lang.String extension)
Returns the page definition of the specified raw content in DOM;
never null.
|
static PageDefinition |
PageDefinitions.getPageDefinitionDirectly(WebApp wapp,
Locator locator,
java.io.Reader reader,
java.lang.String extension)
Returns the page definition of the raw content from the specified
reader; never null.
|
static PageDefinition |
PageDefinitions.getPageDefinitionDirectly(WebApp wapp,
Locator locator,
java.lang.String content,
java.lang.String extension)
Returns the page definition of the specified raw content; never null.
|
Constructor and Description |
---|
LanguageDefinition(java.lang.String deviceType,
java.lang.String name,
java.lang.String namespace,
java.util.List<java.lang.String> extensions,
PageRenderer pageRenderer,
boolean ignoreCase,
boolean bNative,
Locator locator,
java.lang.String treeBuilderClass)
Constructs a language definition.
|
PageDefinition(LanguageDefinition langdef,
Locator locator)
Constructor.
|
PageDefinition(LanguageDefinition langdef,
java.lang.String id,
java.lang.String title,
java.lang.String style,
Locator locator)
Constructor.
|
Parser(WebApp wapp,
Locator locator)
Constructor.
|
ZScript(EvaluatorRef evalr,
java.lang.String zslang,
java.lang.String url,
Locator locator)
Creates a zscript with an URL that is used to load the content.
|
ZScriptInfo(NodeInfo parent,
java.lang.String zslang,
java.lang.String url,
Locator locator,
ConditionImpl cond)
Constructs a
ZScriptInfo with an URL, which might contain an EL
expression. |
Modifier and Type | Method and Description |
---|---|
Locator |
RequestInfo.getLocator()
Returns the locator used to retrieve resources, such as
taglib and zscript files, or null if
RequestInfo.getWebApp() will be used
as the locator. |
Modifier and Type | Method and Description |
---|---|
void |
ConfigParser.parse(Element root,
Configuration config,
Locator locator)
Parses zk.xml, specified by the root element.
|
void |
ConfigParser.parse(java.io.InputStream is,
Configuration config,
Locator locator)
Parses zk.xml from an input stream into the configuration.
|
void |
ConfigParser.parse(java.net.URL url,
Configuration config,
Locator locator)
Parses zk.xml, specified by url, into the configuration.
|
void |
RequestInfo.setLocator(Locator locator)
Sets the locator used to retrieve resources, such as
taglib and zscript files.
|
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.