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 interfaceXMLResourcesLocatorRepresents a locator used to locate XML resources.Classes in org.zkoss.util.resource that implement Locator Modifier and Type Class Description classClassLocatorThe 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 LocatorLocators. 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 PropertyBundlePropertyBundle. getBundle(java.lang.String baseName, java.util.Locale locale, Locator locator)Gets a resource bundle using the specified base name, locale, and locator.static PropertyBundlePropertyBundle. 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.URLLocationLocators. locate(java.lang.String file, java.util.Locale locale, Locator locator)Locates the filename based on the locale.static Locators.StreamLocationLocators. 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.StringServlets. 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 LocatorDspContext. getLocator()Returns the locator for loading resources, such as taglib.LocatorServletDspContext. getLocator()Methods in org.zkoss.web.servlet.dsp with parameters of type Locator Modifier and Type Method Description voidInterpreter. 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.voidInterpreter. 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.InterpretationInterpreter. 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 InterpretationParser. 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 classServletContextLocatorLocator based on ServletContext.Methods in org.zkoss.web.util.resource that return Locator Modifier and Type Method Description LocatorClassWebResource. getExtraLocator()Returns the extra locator, or null if not available.LocatorExtendletContext. 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 voidClassWebResource. 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 FunctionMapperTaglibs. 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 FunctionMapperTaglibs. 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 ofTagliband imports, or null if nothing is loaded.static FunctionMapperTaglibs. getFunctionMapper(java.util.Collection<Taglib> taglibs, Locator loc)Returns the function mapper representing a collection ofTaglib, or null if nothing is loaded.static FunctionMapperTaglibs. 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 FunctionMapperTaglibs. 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 ofTagliband imports, or null if nothing is loaded.static FunctionMapperTaglibs. 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 voidTaglibMapper. load(java.lang.String prefix, java.lang.String uri, Locator locator)Loads function and class definitions from taglib.voidTaglibMapper. 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 interfaceWebAppRepresents 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 classSimpleWebAppA 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 classAbstractWebAppA skeletal implementation ofWebApp.Methods in org.zkoss.zk.ui.impl that return Locator Modifier and Type Method Description LocatorRequestInfoImpl. getLocator()Methods in org.zkoss.zk.ui.impl with parameters of type Locator Modifier and Type Method Description voidRequestInfoImpl. 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 LocatorPageDefinition. getLocator()Returns the locator associated with this page definition.static LocatorPageDefinitions. getLocator(WebApp wapp, java.lang.String path)Returns the locator for the specified context.LocatorParser. getLocator()returns locator for locating resources.Methods in org.zkoss.zk.ui.metainfo with parameters of type Locator Modifier and Type Method Description static voidDefinitionLoaders. addAddon(Locator locator, java.net.URL url)Adds a language addon.static voidDefinitionLoaders. addLanguage(Locator locator, java.net.URL url)Adds a language.static PageDefinitionPageDefinitions. 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 PageDefinitionPageDefinitions. 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 PageDefinitionPageDefinitions. 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 PageDefinitionPageDefinitions. 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 aZScriptInfowith 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 LocatorRequestInfo. 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 voidConfigParser. parse(java.io.InputStream is, Configuration config, Locator locator)Parses zk.xml from an input stream into the configuration.voidConfigParser. parse(java.net.URL url, Configuration config, Locator locator)Parses zk.xml, specified by url, into the configuration.voidConfigParser. parse(Element root, Configuration config, Locator locator)Parses zk.xml, specified by the root element.voidRequestInfo. setLocator(Locator locator)Sets the locator used to retrieve resources, such as taglib and zscript files.
-