public class PropertyIORenderer extends Object
Constructor and Description |
---|
PropertyIORenderer()
Default constructor no handling URL, meaning no reload is possible.
|
PropertyIORenderer(String propertyCollectionHandlingServletUrl)
Constructor with reload button.
|
Modifier and Type | Method and Description |
---|---|
String |
getPropertyCollectionHandlingServletUrl() |
String |
renderPropertyIO(javax.servlet.http.HttpServletRequest request,
dk.heick.properties.PropertyCollection collection)
Renders data about a PropertyIO, with a reload button.
|
public PropertyIORenderer(String propertyCollectionHandlingServletUrl)
propertyCollectionHandlingServletUrl
- the URL pointing to the servlet which implements AbstractPropertyCollectionHandlingServlet. Use for displaying a button that can reload the PropertyIO, if null
than it is not displayed.public PropertyIORenderer()
public String getPropertyCollectionHandlingServletUrl()
public String renderPropertyIO(javax.servlet.http.HttpServletRequest request, dk.heick.properties.PropertyCollection collection)
request
- the HttpServletRequestcollection
- the PropertyCollectionAbstractPropertyCollectionHandlingServlet