org.ofbiz.webapp.region
Class Region

java.lang.Object
  extended by org.ofbiz.webapp.region.Content
      extended by 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
           
 
Fields inherited from class org.ofbiz.webapp.region.Content
content, type
 
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(HttpServletRequest request, HttpServletResponse response)
           
 void render(PageContext pageContext)
           
 java.lang.String toString()
           
 
Methods inherited from class org.ofbiz.webapp.region.Content
getContent, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

module

public static final java.lang.String module

id

protected java.lang.String id
Constructor Detail

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)
Method Detail

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