Package com.xwiki.admintools
Interface DataProvider
@Role
public interface DataProvider
Gathers specific data and returns it in a specific format, using a template.
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionProvides the info structured in a json.Extract the hint of a component.Provides the data provider information in a format given by the associated template.
-
Method Details
-
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.
-
getDataAsJSON
Provides the info structured in a json.
-