public class SimpleGraphProvider extends AbstractTopologyProvider implements GraphProvider
Modifier and Type | Field and Description |
---|---|
protected static String |
TOPOLOGY_NAMESPACE_SIMPLE |
m_groupCounter, SIMPLE_EDGE_ID_PREFIX, SIMPLE_GROUP_ID_PREFIX, SIMPLE_VERTEX_ID_PREFIX
m_edgeProvider, m_vertexProvider
Constructor and Description |
---|
SimpleGraphProvider() |
SimpleGraphProvider(String namespace) |
Modifier and Type | Method and Description |
---|---|
URI |
getTopologyLocation() |
void |
load(String filename) |
void |
refresh() |
void |
save() |
void |
save(String filename) |
void |
setTopologyLocation(URI topologyLocation) |
addEdges, addGroup, addGroup, addVertex, addVertex, addVertices, connectVertices, connectVertices, getEdgeIdsForVertex, getNextEdgeId, getNextGroupId, getNextVertexId, removeEdges, removeVertex, resetContainer
addEdgeListener, addVertexListener, clearEdges, clearVertices, containsVertexId, containsVertexId, contributesTo, getChildren, getEdge, getEdge, getEdgeNamespace, getEdges, getEdges, getEdges, getParent, getRootGroup, getSemanticZoomLevel, getSimpleEdgeProvider, getSimpleVertexProvider, getVertex, getVertex, getVertexNamespace, getVertices, getVertices, getVertices, hasChildren, matches, removeEdgeListener, removeVertexListener, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEdges, addGroup, addVertex, addVertices, connectVertices, getEdgeIdsForVertex, removeEdges, removeVertex, resetContainer, setParent
addVertexListener, clearVertices, containsVertexId, containsVertexId, contributesTo, getChildren, getParent, getRootGroup, getSemanticZoomLevel, getVertex, getVertex, getVertexNamespace, getVertices, getVertices, getVertices, hasChildren, removeVertexListener
addEdgeListener, clearEdges, contributesTo, getEdge, getEdge, getEdgeNamespace, getEdges, getEdges, getEdges, matches, removeEdgeListener
protected static final String TOPOLOGY_NAMESPACE_SIMPLE
public SimpleGraphProvider()
public SimpleGraphProvider(String namespace)
public URI getTopologyLocation()
public void setTopologyLocation(URI topologyLocation) throws MalformedURLException, JAXBException
MalformedURLException
JAXBException
public void save(String filename) throws MalformedURLException, JAXBException
MalformedURLException
JAXBException
public void save()
save
in interface GraphProvider
public void refresh()
refresh
in interface GraphProvider
public void load(String filename) throws MalformedURLException, JAXBException
load
in interface GraphProvider
MalformedURLException
JAXBException
Copyright © 2015. All Rights Reserved.