Class JsonGraphRenderer
- java.lang.Object
-
- org.opennms.netmgt.graph.rest.impl.renderer.JsonGraphRenderer
-
- All Implemented Interfaces:
GraphRenderer
public class JsonGraphRenderer extends Object implements GraphRenderer
-
-
Constructor Summary
Constructors Constructor Description JsonGraphRenderer(org.osgi.framework.BundleContext bundleContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
String
render(int identation, List<GraphContainerInfo> containerInfos)
String
render(int identation, ImmutableGraph<?,?> graph)
String
render(int identation, ImmutableGraphContainer<?> graphContainer)
String
render(int identation, Vertex vertex)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.graph.api.renderer.GraphRenderer
render, render, render, render
-
-
-
-
Method Detail
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceGraphRenderer
-
render
public String render(int identation, List<GraphContainerInfo> containerInfos)
- Specified by:
render
in interfaceGraphRenderer
-
render
public String render(int identation, ImmutableGraphContainer<?> graphContainer)
- Specified by:
render
in interfaceGraphRenderer
-
render
public String render(int identation, ImmutableGraph<?,?> graph)
- Specified by:
render
in interfaceGraphRenderer
-
render
public String render(int identation, Vertex vertex)
- Specified by:
render
in interfaceGraphRenderer
-
-