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 StringgetContentType()Stringrender(int identation, List<GraphContainerInfo> containerInfos)Stringrender(int identation, ImmutableGraph<?,?> graph)Stringrender(int identation, ImmutableGraphContainer<?> graphContainer)Stringrender(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:
getContentTypein interfaceGraphRenderer
-
render
public String render(int identation, List<GraphContainerInfo> containerInfos)
- Specified by:
renderin interfaceGraphRenderer
-
render
public String render(int identation, ImmutableGraphContainer<?> graphContainer)
- Specified by:
renderin interfaceGraphRenderer
-
render
public String render(int identation, ImmutableGraph<?,?> graph)
- Specified by:
renderin interfaceGraphRenderer
-
render
public String render(int identation, Vertex vertex)
- Specified by:
renderin interfaceGraphRenderer
-
-