public class GraphMLMetaTopologyProvider extends Object implements MetaTopologyProvider
Constructor and Description |
---|
GraphMLMetaTopologyProvider(GraphMLServiceAccessor serviceAccessor) |
Modifier and Type | Method and Description |
---|---|
BreadcrumbStrategy |
getBreadcrumbStrategy() |
GraphProvider |
getDefaultGraphProvider() |
GraphProvider |
getGraphProviderBy(String namespace) |
Collection<GraphProvider> |
getGraphProviders() |
String |
getId()
Each
MetaTopologyProvider must have a unique id. |
Collection<VertexRef> |
getOppositeVertices(VertexRef vertexRef) |
GraphMLTopologyProvider |
getRawTopologyProvider(String vertexNamespace)
Returns the RAW
GraphMLTopologyProvider and NOT the wrapped one. |
void |
reload() |
void |
setTopologyLocation(String filename) |
public GraphMLMetaTopologyProvider(GraphMLServiceAccessor serviceAccessor)
public String getId()
MetaTopologyProvider
MetaTopologyProvider
must have a unique id.getId
in interface MetaTopologyProvider
public void reload() throws IOException, InvalidGraphException
IOException
InvalidGraphException
public GraphProvider getDefaultGraphProvider()
getDefaultGraphProvider
in interface MetaTopologyProvider
public Collection<GraphProvider> getGraphProviders()
getGraphProviders
in interface MetaTopologyProvider
public Collection<VertexRef> getOppositeVertices(VertexRef vertexRef)
getOppositeVertices
in interface MetaTopologyProvider
public GraphProvider getGraphProviderBy(String namespace)
getGraphProviderBy
in interface MetaTopologyProvider
public BreadcrumbStrategy getBreadcrumbStrategy()
getBreadcrumbStrategy
in interface MetaTopologyProvider
public void setTopologyLocation(String filename)
public GraphMLTopologyProvider getRawTopologyProvider(String vertexNamespace)
GraphMLTopologyProvider
and NOT the wrapped one.
This is sometimes required to have full access to the Topology Provider, e.g. to get all vertices (usually they would be limited by the SZL)vertexNamespace
- the namespace of the GraphProvider
GraphMLTopologyProvider
and NOT the wrapped one.Copyright © 2021. All rights reserved.