Uses of Class
org.zkoss.zk.ui.metainfo.PageDefinition
-
Packages that use PageDefinition Package Description org.zkoss.zk.ui org.zkoss.zk.ui.http org.zkoss.zk.ui.impl org.zkoss.zk.ui.metainfo org.zkoss.zk.ui.metainfo.impl org.zkoss.zk.ui.sys org.zkoss.zk.xel -
-
Uses of PageDefinition in org.zkoss.zk.ui
Methods in org.zkoss.zk.ui that return PageDefinition Modifier and Type Method Description PageDefinitionExecution. getPageDefinition(java.lang.String uri)Returns the page definition from the page file specified by an URI.static PageDefinitionExecutions. getPageDefinition(WebApp wapp, java.lang.String uri)Returns the page definition from the page file specified by an URI.PageDefinitionExecution. getPageDefinitionDirectly(java.io.Reader reader, java.lang.String extension)Reads the raw content from a reader and converts it into a page definition.PageDefinitionExecution. getPageDefinitionDirectly(java.lang.String content, java.lang.String extension)Converts the specified page content to a page definition.PageDefinitionExecution. getPageDefinitionDirectly(org.zkoss.idom.Document content, java.lang.String extension)Converts the specified page content, in DOM, to a page definition.PageDefinitionExecutions. getPageDefinitionDirectly(WebApp wapp, java.io.Reader reader, java.lang.String extension)Reads the raw content from a reader and converts it into a page definition.PageDefinitionExecutions. getPageDefinitionDirectly(WebApp wapp, java.lang.String content, java.lang.String extension)Converts the specified page content to a page definition.PageDefinitionExecutions. getPageDefinitionDirectly(WebApp wapp, org.zkoss.idom.Document content, java.lang.String extension)Converts the specified page content, in DOM, to a page definition.Methods in org.zkoss.zk.ui with parameters of type PageDefinition Modifier and Type Method Description Component[]Execution. createComponents(PageDefinition pagedef, java.util.Map<?,?> arg)Creates components that don't belong to any page from the specified page definition.ComponentExecution. createComponents(PageDefinition pagedef, Component parent, java.util.Map<?,?> arg)Creates components from the specified page definition.ComponentExecution. createComponents(PageDefinition pagedef, Component parent, Component insertBefore, org.zkoss.xel.VariableResolver resolver)Creates components from the specified page definition with a custom variable resolver and inserts before a particular component.static ComponentExecutions. createComponents(PageDefinition pagedef, Component parent, java.util.Map<?,?> arg)Creates components based on the specified page definition.static Component[]Executions. createComponents(WebApp wapp, PageDefinition pagedef, java.util.Map<?,?> arg)Creates components that don't belong to any page from the specified page definition. -
Uses of PageDefinition in org.zkoss.zk.ui.http
Methods in org.zkoss.zk.ui.http that return PageDefinition Modifier and Type Method Description PageDefinitionExecutionImpl. getPageDefinition(java.lang.String uri)PageDefinitionExecutionImpl. getPageDefinitionDirectly(java.io.Reader reader, java.lang.String ext)PageDefinitionExecutionImpl. getPageDefinitionDirectly(java.lang.String content, java.lang.String ext)PageDefinitionExecutionImpl. getPageDefinitionDirectly(org.zkoss.idom.Document content, java.lang.String ext)Methods in org.zkoss.zk.ui.http with parameters of type PageDefinition Modifier and Type Method Description static PageWebManager. newPage(UiFactory uf, RequestInfo ri, PageDefinition pagedef, jakarta.servlet.ServletResponse response, java.lang.String path)Creates a page. -
Uses of PageDefinition in org.zkoss.zk.ui.impl
Methods in org.zkoss.zk.ui.impl that return PageDefinition Modifier and Type Method Description PageDefinitionAbstractExecution. getCurrentPageDefinition()PageDefinitionAbstractUiFactory. getPageDefinition(RequestInfo ri, java.lang.String path)Returns the page definition of the specified path, or null if not found.PageDefinitionAbstractUiFactory. getPageDefinitionDirectly(RequestInfo ri, java.io.Reader reader, java.lang.String extension)PageDefinitionAbstractUiFactory. getPageDefinitionDirectly(RequestInfo ri, java.lang.String content, java.lang.String extension)Returns the page definition of the specified content; never null.PageDefinitionAbstractUiFactory. getPageDefinitionDirectly(RequestInfo ri, org.zkoss.idom.Document content, java.lang.String extension)Methods in org.zkoss.zk.ui.impl with parameters of type PageDefinition Modifier and Type Method Description Component[]AbstractExecution. createComponents(PageDefinition pagedef, java.util.Map<?,?> arg)ComponentAbstractExecution. createComponents(PageDefinition pagedef, Component parent, java.util.Map<?,?> arg)ComponentAbstractExecution. createComponents(PageDefinition pagedef, Component parent, Component insertBefore, org.zkoss.xel.VariableResolver resolver)Component[]UiEngineImpl. createComponents(Execution exec, PageDefinition pagedef, Page page, Component parent, Component insertBefore, org.zkoss.xel.VariableResolver resolver, java.util.Map<?,?> arg)voidUiEngineImpl. execNewPage(Execution exec, PageDefinition pagedef, Page page, java.io.Writer out)PageAbstractUiFactory. newPage(RequestInfo ri, PageDefinition pagedef, java.lang.String path)voidAbstractExecution. setCurrentPageDefinition(PageDefinition pgdef)Constructors in org.zkoss.zk.ui.impl with parameters of type PageDefinition Constructor Description PageImpl(PageDefinition pgdef)Constructs a page by giving the page definition.VolatilePage(PageDefinition pgdef)Constructs a page by giving the page definition. -
Uses of PageDefinition in org.zkoss.zk.ui.metainfo
Methods in org.zkoss.zk.ui.metainfo that return PageDefinition Modifier and Type Method Description PageDefinitionNodeInfo. getPageDefinition()Returns the page definition, i.e., the root node, or null if not available.PageDefinitionPageDefinition. getPageDefinition()Returns the page definition (always this).static PageDefinitionPageDefinitions. getPageDefinition(WebApp wapp, org.zkoss.util.resource.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, org.zkoss.util.resource.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, org.zkoss.util.resource.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, org.zkoss.util.resource.Locator locator, org.zkoss.idom.Document doc, java.lang.String extension)Returns the page definition of the specified raw content in DOM; never null.PageDefinitionParser. parse(java.io.File file, java.lang.String path)Parses the specified file.PageDefinitionParser. parse(java.io.Reader reader, java.lang.String extension)Parses from the specified reader.PageDefinitionParser. parse(java.net.URL url, java.lang.String path)Parses the specified URL.PageDefinitionParser. parse(org.zkoss.idom.Document doc, java.lang.String extension)Parse the raw content directly from a DOM tree.Methods in org.zkoss.zk.ui.metainfo with parameters of type PageDefinition Modifier and Type Method Description ComponentDefinitionLanguageDefinition. getMacroDefinition(java.lang.String name, java.lang.String macroURI, boolean inline, PageDefinition pgdef)Instantiates and returns the component definition for the specified condition.ComponentDefinitionLanguageDefinition. getShadowDefinition(java.lang.String name, PageDefinition pgdef, java.lang.String templateURI)Instantiates and returns the component definition for the specified condition.java.lang.ObjectResponseHeaderInfo. getValue(PageDefinition pgdef, Page page)Returns the value of the response header.voidPageDefinition. imports(PageDefinition pgdef)Imports the init directives and component definitions from the specified page definition.voidPageDefinition. imports(PageDefinition pgdef, java.lang.String[] directives)Imports the specified directives from the specified page definition.org.zkoss.xel.FunctionMapperFunctionMapperInfo. newFunctionMapper(PageDefinition pgdef, Page page)Creates and returns the function mapper for the specified pagedefinition and page.InitiatorInitiatorInfo. newInitiator(PageDefinition pgdef, Page page)Creates and returns the initiator, or null if no initiator is resolved.org.zkoss.xel.VariableResolverVariableResolverInfo. newVariableResolver(PageDefinition pgdef, Page page)Creates and returns the variable resolver for the specified page.booleanNamespaceParser. parse(org.zkoss.idom.Attribute attr, ComponentInfo compInfo, PageDefinition pgdef)Parses the the content with the current namespace parser.java.lang.StringForwardInfo. resolveURI(PageDefinition pgdef, Page page)Evaluates and returns the URI, or null if not to forward.booleanResponseHeaderInfo. shallAppend(PageDefinition pgdef, Page page)Returns whether to append the response header, rather than replace.java.lang.StringHeaderInfo. toHTML(PageDefinition pgdef, Page page)Returns as HTML tag(s) representing this header element. -
Uses of PageDefinition in org.zkoss.zk.ui.metainfo.impl
Methods in org.zkoss.zk.ui.metainfo.impl with parameters of type PageDefinition Modifier and Type Method Description static ComponentDefinitionComponentDefinitionImpl. newMacroDefinition(LanguageDefinition langdef, PageDefinition pgdef, java.lang.String name, java.lang.Class<? extends Component> cls, java.lang.String macroURI, boolean inline)Constructs a macro component definition.static ComponentDefinitionComponentDefinitionImpl. newShadowDefinition(LanguageDefinition langdef, PageDefinition pgdef, java.lang.String name, java.lang.Class<? extends Component> cls, java.lang.String templateURI)Constructs a shadow component definition.Constructors in org.zkoss.zk.ui.metainfo.impl with parameters of type PageDefinition Constructor Description ComponentDefinitionImpl(LanguageDefinition langdef, PageDefinition pgdef, java.lang.String name, java.lang.Class<? extends Component> cls)Constructs a native component, i.e., a component implemented by a Java class.ComponentDefinitionImpl(LanguageDefinition langdef, PageDefinition pgdef, java.lang.String name, java.lang.String clsnm)Constructs a native component, i.e., a component implemented by a Java class.ShadowDefinitionImpl(LanguageDefinition langdef, PageDefinition pgdef, java.lang.String name, java.lang.Class<? extends Component> cls)ShadowDefinitionImpl(LanguageDefinition langdef, PageDefinition pgdef, java.lang.String name, java.lang.String clsnm) -
Uses of PageDefinition in org.zkoss.zk.ui.sys
Methods in org.zkoss.zk.ui.sys that return PageDefinition Modifier and Type Method Description PageDefinitionExecutionCtrl. getCurrentPageDefinition()Returns the current page definition, which is pushed when evaluating a page (from a page definition).PageDefinitionUiFactory. getPageDefinition(RequestInfo ri, java.lang.String path)Returns the page definition of the specified path, or null if not found.PageDefinitionUiFactory. getPageDefinitionDirectly(RequestInfo ri, java.io.Reader reader, java.lang.String extension)Returns the page definition of the specified reader; never null.PageDefinitionUiFactory. getPageDefinitionDirectly(RequestInfo ri, java.lang.String content, java.lang.String extension)Returns the page definition of the specified content; never null.PageDefinitionUiFactory. getPageDefinitionDirectly(RequestInfo ri, org.zkoss.idom.Document content, java.lang.String extension)Returns the page definition of the specified content; never null.Methods in org.zkoss.zk.ui.sys with parameters of type PageDefinition Modifier and Type Method Description Component[]UiEngine. createComponents(Execution exec, PageDefinition pagedef, Page page, Component parent, Component insertBefore, org.zkoss.xel.VariableResolver resolver, java.util.Map<?,?> arg)Creates components from the specified page and definition.voidUiEngine. execNewPage(Execution exec, PageDefinition pagedef, Page page, java.io.Writer out)Creates components specified in the given page definition.PageUiFactory. newPage(RequestInfo ri, PageDefinition pagedef, java.lang.String path)Creates an instance ofPagefor the specified page definition.voidExecutionCtrl. setCurrentPageDefinition(PageDefinition pgdef)Sets the current page definition. -
Uses of PageDefinition in org.zkoss.zk.xel
Methods in org.zkoss.zk.xel that return PageDefinition Modifier and Type Method Description PageDefinitionEvaluatorRef. getPageDefinition()Returns the page definition of this reference, or null if not available.
-