public class HeaderInfo
extends java.lang.Object
Notice
Include.getMode()
), the directives will be ignored.It is not serializable.
ResponseHeaderInfo
Constructor and Description |
---|
HeaderInfo(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> attrs,
ConditionImpl cond)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.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.Copyright © 2005-2011 Potix Corporation. All Rights Reserved.