public interface SymbolProvider
Service provider interface for Graph.SymbolFactory.
The fully qualified names of the classes implementing this interface
and appearing in a jar file should be placed in a file named
META-INF/services/org.bzdev.graph.spi.SymbolProviderand that file should be included in the jar file. If the jar file is a modular jar file, the module-info.java file should contain clauses
where "uses org.bzdev.graphs.spi.SymbolProvider; provides org.bzdev.graphs.spi.SymbolProvider with ... ;
...
" is a comma-separated list of the fully
qualified class names of all the symbol providers in this class.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Graph.Symbol>
Get the subclass of Graph.Symbol for a provider.Get the name of the symbol this provider supports
-
Method Details
-
getSymbolName
String getSymbolName()Get the name of the symbol this provider supports- Returns:
- the name of the symbol this provider supports
-
getSymbolClass
Class<? extends Graph.Symbol> getSymbolClass()Get the subclass of Graph.Symbol for a provider.- Returns:
- the subclass of Graph.Symbol for a provider
-