|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageConfig
Represents the info used to initialize a page.
PageCtrl.init(org.zkoss.zk.ui.sys.PageConfig)| Method Summary | |
|---|---|
java.lang.Boolean |
getCacheable()
Returns if the client can cache the rendered result, or null to use the device default. |
java.lang.String |
getContentType()
Returns the content type, or null to use the device default. |
java.lang.String |
getDocType()
Returns the doc type (<! |
java.lang.String |
getFirstLine()
Returns the first line to be generated to the output, or null if nothing to generate. |
java.lang.String |
getHeaders()
Returns the content that will be generated inside the header element, or null if no special header is required. |
java.lang.String |
getId()
Returns the page identifier, or null if auto-generation is required. |
java.lang.String |
getRootAttributes()
Returns the content that will be generated as the attributes of the root element, or null if no special attribute is required. |
java.lang.String |
getStyle()
Returns the page's CSS style, or null if no special CSS style to assign. |
java.lang.String |
getTitle()
Returns the page title, or null if not available (no title at all). |
java.lang.String |
getUuid()
Returns the page's UUID. |
| Method Detail |
|---|
java.lang.String getId()
PageCtrl.init(org.zkoss.zk.ui.sys.PageConfig) shall generate
one automatically.
Note: if Page.setId(java.lang.String) was called with
a non-empty value before, this method is ignored.
java.lang.String getUuid()
ExecutionCtrl.isRecovering()).
In other words, it is null if not in the recovering mode.
java.lang.String getTitle()
Note: if Page.setTitle(java.lang.String) was called with
a non-empty value before, this method is ignored.
java.lang.String getStyle()
Note: if Page.setStyle(java.lang.String) was called with
a non-empty value before, this method is ignored.
java.lang.String getHeaders()
For HTML, the header element is the HEAD element.
PageCtrl.getHeaders()java.lang.String getRootAttributes()
For HTML, the root element is the HTML element.
PageCtrl.getRootAttributes()java.lang.String getContentType()
java.lang.String getDocType()
java.lang.String getFirstLine()
For XML devices, it is usually the xml processing instruction:
<?xml version="1.0" encoding="UTF-8"?>
java.lang.Boolean getCacheable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||