Interface NamedGraph

All Superinterfaces:
org.apache.jena.graph.Graph
All Known Implementing Classes:
GraphView

public interface NamedGraph extends org.apache.jena.graph.Graph
A graph with an associated name.

Sometimes there is an associated name with a graph, where it lives on the web, or the name in a dataset.

This interface is for graph that has one associated name. What "associated" means is left open.

This interface is used be Jena Text.

See Also:
  • Field Summary

    Fields inherited from interface org.apache.jena.graph.Graph

    emptyGraph
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.graph.Node
    Return the graph name for this graph.

    Methods inherited from interface org.apache.jena.graph.Graph

    add, add, clear, close, contains, contains, delete, delete, dependsOn, find, find, find, getCapabilities, getEventManager, getPrefixMapping, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, remove, size, sizeLong, stream, stream
  • Method Details

    • getGraphName

      org.apache.jena.graph.Node getGraphName()
      Return the graph name for this graph. Blank nodes can be used.

      A named graph of "null" is discouraged - use Quad.defaultGraphIRI - but is legal. for a default graph in the context of use.