org.ofbiz.webapp.region
Class Content
java.lang.Object
org.ofbiz.webapp.region.Content
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Region, Section
public abstract class Content
- extends java.lang.Object
- implements java.io.Serializable
Abstract base class for Section and Region
Subclasses of Content must implement render(PageContext)
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
content
|
protected java.lang.String |
type
type can be:
- direct (for direct inline content)
- region (for a nested region)
- default (for region if matches region name OR JSP/Servlet resource otherwise)
- resource (for JSP/Servlet resource)
- or any ViewHandler defined in the corresponding controller.xml file |
Constructor Summary |
Content(java.lang.String content,
java.lang.String type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
content
protected final java.lang.String content
type
protected final java.lang.String type
- type can be:
- direct (for direct inline content)
- region (for a nested region)
- default (for region if matches region name OR JSP/Servlet resource otherwise)
- resource (for JSP/Servlet resource)
- or any ViewHandler defined in the corresponding controller.xml file
Content
public Content(java.lang.String content,
java.lang.String type)
getContent
public java.lang.String getContent()
getType
public java.lang.String getType()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object