org.ofbiz.webapp.region
Class Region
java.lang.Object
org.ofbiz.webapp.region.Content
org.ofbiz.webapp.region.Region
- All Implemented Interfaces:
- java.io.Serializable
public class Region
- extends Content
A region is content that contains a set of sections that can render in a PageContext
Implements abstract render(PageContext) from Content
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
id
|
static java.lang.String |
module
|
Constructor Summary |
Region(java.lang.String id,
java.lang.String content)
|
Region(java.lang.String id,
java.lang.String content,
java.util.Map<java.lang.String,? extends Section> sections)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
module
public static final java.lang.String module
id
protected java.lang.String id
Region
public Region(java.lang.String id,
java.lang.String content)
Region
public Region(java.lang.String id,
java.lang.String content,
java.util.Map<java.lang.String,? extends Section> sections)
getId
public java.lang.String getId()
put
public void put(Section section)
putAll
public void putAll(java.util.Map<java.lang.String,? extends Section> newSections)
get
public Section get(java.lang.String name)
getSections
public java.util.Map<java.lang.String,? extends Section> getSections()
render
public void render(PageContext pageContext)
throws JspException
- Throws:
JspException
render
public void render(HttpServletRequest request,
HttpServletResponse response)
throws java.io.IOException,
ServletException
- Throws:
java.io.IOException
ServletException
toString
public java.lang.String toString()
- Overrides:
toString
in class Content