|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.ui.metainfo.HeaderInfo
public class HeaderInfo
Represents a header element, such as <?link> and <?meta> directives on the ZUML page. They are usually represented as directives in ZUML. For example, the link and meta directives represent <link> and <meta> HTML tags, respectively.
Notice
Include.getMode()
), the directives will be ignored.It is not serializable.
ResponseHeaderInfo
Constructor Summary | |
---|---|
HeaderInfo(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> attrs,
ConditionImpl cond)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the tag name of this header element. |
java.lang.String |
toHTML(PageDefinition pgdef,
Page page)
Returns as HTML tag(s) representing this header element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeaderInfo(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> attrs, ConditionImpl cond)
Note: it detects the href attribute (from the attrs argument), and
encodes it with Executions.encodeURL(java.lang.String)
.
name
- the tag name, such as link (never null or empty).attrs
- a map of (String, String) attributes.Method Detail |
---|
public java.lang.String getName()
public java.lang.String toHTML(PageDefinition pgdef, Page page)
page
- the page containing this header element.
It is used to evaluate EL expression, if any, contained in the value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |