Package com.xwiki.admintools
Interface DataProvider
-
@Role public interface DataProviderGathers specific data and returns it in a specific format, using a template.- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>getDataAsJSON()Provides the info structured in a json.StringgetIdentifier()Extract the hint of a component.StringgetRenderedData()Provides the data provider information in a format given by the associated template.
-
-
-
Method Detail
-
getRenderedData
String getRenderedData()
Provides the data provider information in a format given by the associated template.- Returns:
- the information formatted by the associated template as a
String.
-
getIdentifier
String getIdentifier()
Extract the hint of a component.- Returns:
- the component hint.
-
-