Uses of Interface
org.zkoss.util.resource.Locator
-
-
Uses of Locator in org.zkoss.util.resource
Subinterfaces of Locator in org.zkoss.util.resource Modifier and Type Interface Description interface
XMLResourcesLocator
Represents a locator used to locate XML resources.Classes in org.zkoss.util.resource that implement Locator Modifier and Type Class Description class
ClassLocator
The locator searches the current thread's context class loader, and then this class's class loader.Methods in org.zkoss.util.resource that return Locator Modifier and Type Method Description static Locator
Locators. getDefault()
Returns the default resource locator which is an instance ofClassLocator
.Methods in org.zkoss.util.resource with parameters of type Locator Modifier and Type Method 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.Constructors in org.zkoss.util.resource with parameters of type Locator Constructor Description PropertyBundle(java.lang.String baseName, java.util.Locale locale, Locator locator, boolean caseInsensitive)
Constructor. -
Uses of Locator in org.zkoss.web.servlet
Methods in org.zkoss.web.servlet with parameters of type Locator Modifier and Type Method 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. -
Uses of Locator in org.zkoss.web.servlet.dsp
Methods in org.zkoss.web.servlet.dsp that return Locator Modifier and Type Method Description Locator
DspContext. getLocator()
Returns the locator for loading resources, such as taglib.Locator
ServletDspContext. getLocator()
Methods in org.zkoss.web.servlet.dsp with parameters of type Locator Modifier and Type Method Description 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.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.Interpretation
Interpreter. parse(java.lang.String content, java.lang.String ctype, XelContext xelc, Locator loc)
Parses a content to a meta format calledInterpretation
.Constructors in org.zkoss.web.servlet.dsp with parameters of type Locator Constructor Description 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.ServletDspContext(javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Locator locator)
Constructor. -
Uses of Locator in org.zkoss.web.servlet.dsp.impl
Methods in org.zkoss.web.servlet.dsp.impl with parameters of type Locator Modifier and Type Method Description Interpretation
Parser. parse(java.lang.String content, java.lang.String ctype, XelContext xelc, Locator loc)
Parses the content into a meta format -
Uses of Locator in org.zkoss.web.util.resource
Classes in org.zkoss.web.util.resource that implement Locator Modifier and Type Class Description class
ServletContextLocator
Locator based on ServletContext.Methods in org.zkoss.web.util.resource that return Locator Modifier and Type Method 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.Methods in org.zkoss.web.util.resource with parameters of type Locator Modifier and Type Method Description void
ClassWebResource. setExtraLocator(Locator loc)
Sets the extra locator. -
Uses of Locator in org.zkoss.xel.taglib
Methods in org.zkoss.xel.taglib with parameters of type Locator Modifier and Type Method Description 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 ofTaglib
, 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 ofTaglib
and imports, or null if nothing is loaded.static FunctionMapper
Taglibs. getFunctionMapper(java.util.Collection<Taglib> taglibs, Locator loc)
Returns the function mapper representing a collection ofTaglib
, 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 ofTaglib
, 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 ofTaglib
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 ofTaglib
, or null if nothing is loaded. -
Uses of Locator in org.zkoss.xel.util
Methods in org.zkoss.xel.util with parameters of type Locator Modifier and Type Method 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. -
Uses of Locator in org.zkoss.zk.ui
Subinterfaces of Locator in org.zkoss.zk.ui Modifier and Type Interface Description interface
WebApp
Represents a Web application. -
Uses of Locator in org.zkoss.zk.ui.http
Classes in org.zkoss.zk.ui.http that implement Locator Modifier and Type Class Description class
SimpleWebApp
A servlet-based Web application. -
Uses of Locator in org.zkoss.zk.ui.impl
Classes in org.zkoss.zk.ui.impl that implement Locator Modifier and Type Class Description class
AbstractWebApp
A skeletal implementation ofWebApp
.Methods in org.zkoss.zk.ui.impl that return Locator Modifier and Type Method Description Locator
RequestInfoImpl. getLocator()
Methods in org.zkoss.zk.ui.impl with parameters of type Locator Modifier and Type Method Description void
RequestInfoImpl. setLocator(Locator locator)
Constructors in org.zkoss.zk.ui.impl with parameters of type Locator Constructor 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 -
Uses of Locator in org.zkoss.zk.ui.metainfo
Methods in org.zkoss.zk.ui.metainfo that return Locator Modifier and Type Method Description 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.Locator
Parser. getLocator()
returns locator for locating resources.Methods in org.zkoss.zk.ui.metainfo with parameters of type Locator Modifier and Type Method 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, 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.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.Constructors in org.zkoss.zk.ui.metainfo with parameters of type Locator Constructor 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, java.lang.String id, java.lang.String title, java.lang.String style, Locator locator)
Constructor.PageDefinition(LanguageDefinition langdef, 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 aZScriptInfo
with an URL, which might contain an EL expression. -
Uses of Locator in org.zkoss.zk.ui.sys
Methods in org.zkoss.zk.ui.sys that return Locator Modifier and Type Method Description Locator
RequestInfo. getLocator()
Returns the locator used to retrieve resources, such as taglib and zscript files, or null ifRequestInfo.getWebApp()
will be used as the locator.Methods in org.zkoss.zk.ui.sys with parameters of type Locator Modifier and Type Method Description 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
ConfigParser. parse(Element root, Configuration config, Locator locator)
Parses zk.xml, specified by the root element.void
RequestInfo. setLocator(Locator locator)
Sets the locator used to retrieve resources, such as taglib and zscript files.
-