Class JSONExporter<V,​E>

    • Field Detail

      • vertexIDProvider

        protected ComponentNameProvider<V> vertexIDProvider
        Deprecated.
        Provides an identifier for a vertex.
      • edgeIDProvider

        protected ComponentNameProvider<E> edgeIDProvider
        Deprecated.
        Provides an identifier for an edge.
    • Constructor Detail

      • JSONExporter

        public JSONExporter()
        Deprecated.
        Creates a new exporter with integer name provider for the vertex identifiers.
      • JSONExporter

        public JSONExporter​(ComponentNameProvider<V> vertexIDProvider)
        Deprecated.
        Creates a new exporter.
        Parameters:
        vertexIDProvider - for generating vertex identifiers. Must not be null.
      • JSONExporter

        public JSONExporter​(ComponentNameProvider<V> vertexIDProvider,
                            ComponentAttributeProvider<V> vertexAttributeProvider,
                            ComponentNameProvider<E> edgeIDProvider,
                            ComponentAttributeProvider<E> edgeAttributeProvider)
        Deprecated.
        Constructs a new exporter
        Parameters:
        vertexIDProvider - for generating vertex identifiers. Must not be null.
        vertexAttributeProvider - for generating vertex attributes. If null, no additional attributes will be exported.
        edgeIDProvider - for generating edge identifiers. Must not be null.
        edgeAttributeProvider - for generating edge attributes. If null, no additional attributes will be exported.
    • Method Detail

      • getVertexIDProvider

        public ComponentNameProvider<V> getVertexIDProvider()
        Deprecated.
        Get the vertex id provider
        Returns:
        the vertex id provider
      • setVertexIDProvider

        public void setVertexIDProvider​(ComponentNameProvider<V> vertexIDProvider)
        Deprecated.
        Set the vertex id provider
        Parameters:
        vertexIDProvider - the new vertex id provider. Must not be null.
      • getEdgeIDProvider

        public ComponentNameProvider<E> getEdgeIDProvider()
        Deprecated.
        Get the edge id provider
        Returns:
        The edge provider
      • setEdgeIDProvider

        public void setEdgeIDProvider​(ComponentNameProvider<E> edgeIDProvider)
        Deprecated.
        Set the edge id provider.
        Parameters:
        edgeIDProvider - the new edge id provider. Must not be null.