Uses of Interface
org.jgrapht.nio.Attribute
-
Packages that use Attribute Package Description org.jgrapht.nio Importers/Exporters for various graph formats.org.jgrapht.nio.dot DOT importers/exportersorg.jgrapht.nio.gml GML importers/exportersorg.jgrapht.nio.json Json importers/exporters -
-
Uses of Attribute in org.jgrapht.nio
Classes in org.jgrapht.nio that implement Attribute Modifier and Type Class Description class
DefaultAttribute<T>
Default implementation of an attribute.Fields in org.jgrapht.nio declared as Attribute Modifier and Type Field Description static Attribute
DefaultAttribute. NULL
The null attribute.Fields in org.jgrapht.nio with type parameters of type Attribute Modifier and Type Field Description protected Optional<Function<E,Map<String,Attribute>>>
BaseExporter. edgeAttributeProvider
An edge attribute providerprotected Optional<Supplier<Map<String,Attribute>>>
BaseExporter. graphAttributeProvider
A graph attribute providerprotected Optional<Function<V,Map<String,Attribute>>>
BaseExporter. vertexAttributeProvider
A vertex attribute providerMethods in org.jgrapht.nio that return Attribute Modifier and Type Method Description static Attribute
DefaultAttribute. createAttribute(Boolean value)
Create a boolean attributestatic Attribute
DefaultAttribute. createAttribute(Double value)
Create a double attributestatic Attribute
DefaultAttribute. createAttribute(Float value)
Create a float attributestatic Attribute
DefaultAttribute. createAttribute(Integer value)
Create an integer attributestatic Attribute
DefaultAttribute. createAttribute(Long value)
Create a long attributestatic Attribute
DefaultAttribute. createAttribute(String value)
Create a string attributeMethods in org.jgrapht.nio that return types with arguments of type Attribute Modifier and Type Method Description protected Optional<Attribute>
BaseExporter. getEdgeAttribute(E e, String key)
Get an optional of an edge attributeOptional<Function<E,Map<String,Attribute>>>
BaseExporter. getEdgeAttributeProvider()
Get the edge attribute providerprotected Optional<Map<String,Attribute>>
BaseExporter. getEdgeAttributes(E e)
Get edge attributesprotected Optional<Attribute>
BaseExporter. getGraphAttribute(String key)
Get an optional of a graph attributeOptional<Supplier<Map<String,Attribute>>>
BaseExporter. getGraphAttributeProvider()
Get the graph attribute provider.protected Optional<Attribute>
BaseExporter. getVertexAttribute(V v, String key)
Get an optional of a vertex attributeOptional<Function<V,Map<String,Attribute>>>
BaseExporter. getVertexAttributeProvider()
Get the vertex attribute providerprotected Optional<Map<String,Attribute>>
BaseExporter. getVertexAttributes(V v)
Get vertex attributesMethods in org.jgrapht.nio with parameters of type Attribute Modifier and Type Method Description protected void
BaseEventDrivenImporter. notifyEdgeAttribute(E e, String key, Attribute value)
Notify for an edge attributeprotected void
BaseEventDrivenImporter. notifyGraphAttribute(String key, Attribute value)
Notify for a graph attributeprotected void
BaseEventDrivenImporter. notifyVertexAttribute(V v, String key, Attribute value)
Notify for a vertex attributeMethod parameters in org.jgrapht.nio with type arguments of type Attribute Modifier and Type Method Description void
BaseEventDrivenImporter. addEdgeAttributeConsumer(BiConsumer<Pair<E,String>,Attribute> consumer)
Add an edge attribute consumer.void
EventDrivenImporter. addEdgeAttributeConsumer(BiConsumer<Pair<E,String>,Attribute> consumer)
Add an edge attribute consumer.void
BaseEventDrivenImporter. addEdgeWithAttributesConsumer(BiConsumer<E,Map<String,Attribute>> consumer)
Add an edge with attributes consumer.void
EventDrivenImporter. addEdgeWithAttributesConsumer(BiConsumer<E,Map<String,Attribute>> consumer)
Add an edge with attributes consumer.void
BaseEventDrivenImporter. addGraphAttributeConsumer(BiConsumer<String,Attribute> consumer)
Add a graph attribute consumer.void
EventDrivenImporter. addGraphAttributeConsumer(BiConsumer<String,Attribute> consumer)
Add a graph attribute consumer.void
BaseEventDrivenImporter. addVertexAttributeConsumer(BiConsumer<Pair<V,String>,Attribute> consumer)
Add a vertex attribute consumer.void
EventDrivenImporter. addVertexAttributeConsumer(BiConsumer<Pair<V,String>,Attribute> consumer)
Add a vertex attribute consumer.void
BaseEventDrivenImporter. addVertexWithAttributesConsumer(BiConsumer<V,Map<String,Attribute>> consumer)
Add a vertex with attributes consumer.void
EventDrivenImporter. addVertexWithAttributesConsumer(BiConsumer<V,Map<String,Attribute>> consumer)
Add a vertex with attributes consumer.protected void
BaseEventDrivenImporter. notifyEdgeWithAttributes(E e, Map<String,Attribute> attrs)
Notify for an edge with attributes.protected void
BaseEventDrivenImporter. notifyVertexWithAttributes(V v, Map<String,Attribute> attrs)
Notify for a vertex with attributes.void
BaseEventDrivenImporter. removeEdgeAttributeConsumer(BiConsumer<Pair<E,String>,Attribute> consumer)
Remove an edge attribute consumer.void
EventDrivenImporter. removeEdgeAttributeConsumer(BiConsumer<Pair<E,String>,Attribute> consumer)
Remove an edge attribute consumer.void
BaseEventDrivenImporter. removeEdgeWithAttributesConsumer(BiConsumer<E,Map<String,Attribute>> consumer)
Remove an edge with attributes consumervoid
EventDrivenImporter. removeEdgeWithAttributesConsumer(BiConsumer<E,Map<String,Attribute>> consumer)
Remove an edge with attributes consumervoid
BaseEventDrivenImporter. removeGraphAttributeConsumer(BiConsumer<String,Attribute> consumer)
Remove a graph attribute consumer.void
EventDrivenImporter. removeGraphAttributeConsumer(BiConsumer<String,Attribute> consumer)
Remove a graph attribute consumer.void
BaseEventDrivenImporter. removeVertexAttributeConsumer(BiConsumer<Pair<V,String>,Attribute> consumer)
Remove a vertex attribute consumer.void
EventDrivenImporter. removeVertexAttributeConsumer(BiConsumer<Pair<V,String>,Attribute> consumer)
Remove a vertex attribute consumer.void
BaseEventDrivenImporter. removeVertexWithAttributesConsumer(BiConsumer<V,Map<String,Attribute>> consumer)
Remove a vertex with attributes consumervoid
EventDrivenImporter. removeVertexWithAttributesConsumer(BiConsumer<V,Map<String,Attribute>> consumer)
Remove a vertex with attributes consumervoid
BaseExporter. setEdgeAttributeProvider(Function<E,Map<String,Attribute>> edgeAttributeProvider)
Set the edge attribute provider.void
BaseExporter. setGraphAttributeProvider(Supplier<Map<String,Attribute>> graphAttributeProvider)
Set the graph attribute provider.void
BaseExporter. setVertexAttributeProvider(Function<V,Map<String,Attribute>> vertexAttributeProvider)
Set the vertex attribute provider -
Uses of Attribute in org.jgrapht.nio.dot
Methods in org.jgrapht.nio.dot that return types with arguments of type Attribute Modifier and Type Method Description Function<Map<String,Attribute>,E>
DOTImporter. getEdgeWithAttributesFactory()
Get the user custom edges factory with attributes.BiFunction<String,Map<String,Attribute>,V>
DOTImporter. getVertexWithAttributesFactory()
Get the user custom vertex factory with attributes.Method parameters in org.jgrapht.nio.dot with type arguments of type Attribute Modifier and Type Method Description void
DOTImporter. setEdgeWithAttributesFactory(Function<Map<String,Attribute>,E> edgeWithAttributesFactory)
Set the user custom edge factory with attributes.void
DOTImporter. setVertexWithAttributesFactory(BiFunction<String,Map<String,Attribute>,V> vertexWithAttributesFactory)
Set the user custom vertex factory with attributes. -
Uses of Attribute in org.jgrapht.nio.gml
Fields in org.jgrapht.nio.gml with type parameters of type Attribute Modifier and Type Field Description protected Optional<Function<V,Map<String,Attribute>>>
GmlExporter. vertexGraphicsAttributeProvider
Methods in org.jgrapht.nio.gml that return types with arguments of type Attribute Modifier and Type Method Description protected Optional<Map<String,Attribute>>
GmlExporter. getVertexGraphicsAttributes(V v)
Method parameters in org.jgrapht.nio.gml with type arguments of type Attribute Modifier and Type Method Description void
GmlExporter. setVertexGraphicsAttributeProvider(Function<V,Map<String,Attribute>> vertexGraphicsAttributeProvider)
Set node craphics section provider -
Uses of Attribute in org.jgrapht.nio.json
Methods in org.jgrapht.nio.json that return types with arguments of type Attribute Modifier and Type Method Description Function<Map<String,Attribute>,E>
JSONImporter. getEdgeWithAttributesFactory()
Get the user custom edges factory with attributes.Method parameters in org.jgrapht.nio.json with type arguments of type Attribute Modifier and Type Method Description void
JSONImporter. setEdgeWithAttributesFactory(Function<Map<String,Attribute>,E> edgeWithAttributesFactory)
Set the user custom edge factory with attributes.void
JSONImporter. setVertexWithAttributesFactory(BiFunction<String,Map<String,Attribute>,V> vertexWithAttributesFactory)
Set the user custom vertex factory with attributes.
-