Package org.apache.jena.sparql.core
Class NamedGraphWrapper
- java.lang.Object
-
- org.apache.jena.sparql.graph.GraphWrapper
-
- org.apache.jena.sparql.core.NamedGraphWrapper
-
- All Implemented Interfaces:
Graph,NamedGraph
public class NamedGraphWrapper extends GraphWrapper implements NamedGraph
Add a name to a graph.- See Also:
GraphView
-
-
Field Summary
-
Fields inherited from interface org.apache.jena.graph.Graph
emptyGraph
-
-
Constructor Summary
Constructors Constructor Description NamedGraphWrapper(Node graphName, Graph graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodegetGraphName()Return the graph name for this graph.java.lang.StringtoString()-
Methods inherited from class org.apache.jena.sparql.graph.GraphWrapper
add, clear, close, contains, contains, delete, dependsOn, find, find, get, getCapabilities, getEventManager, getPrefixMapping, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, remove, size
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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, stream, stream
-
-
-
-
Method Detail
-
getGraphName
public Node getGraphName()
Description copied from interface:NamedGraphReturn the graph name for this graph. Blank nodes can be used.A named graph of "null" is discouraged - use
Quad.defaultGraphIRIfor a default graph in the context of use.- Specified by:
getGraphNamein interfaceNamedGraph
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-