Interface NamedGraph

All Superinterfaces:
All Known Implementing Classes:

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

  • Method Summary

    Modifier and Type
    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.