org.ofbiz.webapp.region
Class Section
java.lang.Object
org.ofbiz.webapp.region.Content
org.ofbiz.webapp.region.Section
- All Implemented Interfaces:
- java.io.Serializable
public class Section
- extends Content
A section is content with a name that implements Content.render.
That method renders content either by including
it or by printing it directly, depending upon the direct
value passed to the Section constructor.
Note that a section's content can also be a region;if so,
Region.render is called from Section.Render().
- See Also:
- Serialized Form
Constructor Summary |
Section(java.lang.String name,
java.lang.String info,
java.lang.String content,
java.lang.String type,
RegionManager regionManager)
|
Method Summary |
java.lang.String |
getName()
|
void |
render(HttpServletRequest request,
HttpServletResponse response)
|
void |
render(PageContext pageContext)
|
java.lang.String |
toString()
|
protected void |
viewHandlerRender(java.lang.String typeToUse,
HttpServletRequest request,
HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
protected final java.lang.String name
info
protected final java.lang.String info
regionManager
protected RegionManager regionManager
module
public static final java.lang.String module
Section
public Section(java.lang.String name,
java.lang.String info,
java.lang.String content,
java.lang.String type,
RegionManager regionManager)
getName
public java.lang.String getName()
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
viewHandlerRender
protected void viewHandlerRender(java.lang.String typeToUse,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException
- Throws:
ServletException
toString
public java.lang.String toString()
- Overrides:
toString
in class Content