Class VertexConverter

  • All Implemented Interfaces:
    Converter<Vertex,​org.json.JSONObject>

    public class VertexConverter
    extends java.lang.Object
    implements Converter<Vertex,​org.json.JSONObject>
    • Constructor Summary

      Constructors 
      Constructor Description
      VertexConverter​(org.osgi.framework.BundleContext bundleContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canConvert​(java.lang.Class<Vertex> type)  
      org.json.JSONObject convert​(Vertex input)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VertexConverter

        public VertexConverter​(org.osgi.framework.BundleContext bundleContext)
    • Method Detail

      • canConvert

        public boolean canConvert​(java.lang.Class<Vertex> type)
        Specified by:
        canConvert in interface Converter<Vertex,​org.json.JSONObject>
      • convert

        public org.json.JSONObject convert​(Vertex input)
        Specified by:
        convert in interface Converter<Vertex,​org.json.JSONObject>