public class PropertyCollectionRenderer extends Object
Constructor and Description |
---|
PropertyCollectionRenderer(String validImageURL,
String invalidImageURL)
Constructor.
|
PropertyCollectionRenderer(String validImageURL,
String invalidImageURL,
String propertyCollectionHandlingServletUrl)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getInvalidImageURL() |
String |
getPropertyCollectionHandlingServletUrl() |
String |
getValidImageURL() |
String |
renderProperties(javax.servlet.http.HttpServletRequest request,
dk.heick.properties.PropertyCollection collection,
boolean allAsReadonly) |
String |
renderUnknownProperties(dk.heick.properties.PropertyCollection collection) |
public PropertyCollectionRenderer(String validImageURL, String invalidImageURL)
validImageURL
- the url for image to illustrate an valid Property.invalidImageURL
- the url for image to illustrate an invalid Property.public PropertyCollectionRenderer(String validImageURL, String invalidImageURL, String propertyCollectionHandlingServletUrl)
validImageURL
- the url for image to illustrate an valid Property.invalidImageURL
- the url for image to illustrate an invalid Property.propertyCollectionHandlingServletUrl
- the URL for handling actions on PropertyTypes, if null all Properties will be displayed as readonly.public String getInvalidImageURL()
public String getValidImageURL()
public String getPropertyCollectionHandlingServletUrl()
public String renderProperties(javax.servlet.http.HttpServletRequest request, dk.heick.properties.PropertyCollection collection, boolean allAsReadonly)
public String renderUnknownProperties(dk.heick.properties.PropertyCollection collection)