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)
|
|
Method Summary |
Section |
get(java.lang.String name)
|
java.lang.String |
getId()
|
java.util.Map<java.lang.String,? extends Section> |
getSections()
|
void |
put(Section section)
|
void |
putAll(java.util.Map<java.lang.String,? extends Section> newSections)
|
void |
render(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
render(javax.servlet.jsp.PageContext pageContext)
|
java.lang.String |
toString()
|
| 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(javax.servlet.jsp.PageContext pageContext)
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
render
public void render(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
toString
public java.lang.String toString()
- Overrides:
toString in class Content