Class JsonGraphRenderer
- java.lang.Object
-
- org.opennms.netmgt.graph.rest.impl.renderer.JsonGraphRenderer
-
- All Implemented Interfaces:
GraphRenderer
public class JsonGraphRenderer extends java.lang.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 java.lang.String
getContentType()
java.lang.String
render(int identation, java.util.List<GraphContainerInfo> containerInfos)
java.lang.String
render(int identation, ImmutableGraph<?,?> graph)
java.lang.String
render(int identation, ImmutableGraphContainer<?> graphContainer)
java.lang.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 java.lang.String getContentType()
- Specified by:
getContentType
in interfaceGraphRenderer
-
render
public java.lang.String render(int identation, java.util.List<GraphContainerInfo> containerInfos)
- Specified by:
render
in interfaceGraphRenderer
-
render
public java.lang.String render(int identation, ImmutableGraphContainer<?> graphContainer)
- Specified by:
render
in interfaceGraphRenderer
-
render
public java.lang.String render(int identation, ImmutableGraph<?,?> graph)
- Specified by:
render
in interfaceGraphRenderer
-
render
public java.lang.String render(int identation, Vertex vertex)
- Specified by:
render
in interfaceGraphRenderer
-
-