This package defines the Graph and Node family of classes, which form the underlying datatypes of the Jena system.
Interface Summary Interface Description CapabilitiesInterface for expressing capabilities. FrontsNodeHasNode - interface for objects that front a Node in some context. FrontsTripleFrontsTriple (see also FrontsNode) is an interface for things that can be seen as wrappers round triples. GetTriplethis interface describes types that can have a triple extracted using a
GraphThe interface to be satisfied by implementations maintaining collections of RDF triples. GraphEventManagerThe component of a graph responsible for managing events and listeners. GraphListenerInterface for listening to graph-level update events. GraphMakerA factory for providing instances of named graphs with appropriate storage models. NodeVisitorThe NodeVisitor interface is used by Node::visitWith so that an application can have type-dispatch on the class of a Node. TransactionHandlerPreliminary interface for graphs supporting transactions. TripleBoundaryAn interface for expressing a stopping condition on triples, such as in sub-graph extraction. TripleIteratorAn extended iterator that can return its next element as a Triple.
Class Summary Class Description BlankNodeIdSystem identifier for a blank node. FactoryA factory class for creating Graphs. GraphEventsGraphEvents is the base class for Jena general graph events. GraphExtractGraphExtract offers a very simple recursive extraction of a subgraph with a specified root in some supergraph. GraphUtilAn ad-hoc collection of useful code for graphs NodeA Node has five subtypes: Node_Blank, Node_Anon, Node_URI, Node_Variable, and Node_ANY. Node_ANYA Node_ANY (there should be only one) is a meta-node that is used to stand for any other node in a query. Node_BlankRDF blank nodes, ie nodes with identity but without URIs. Node_ConcreteThis is the class of "concrete" nodes, ie those which correspond to actual RDF data - URIs, blank nodes, and literals. Node_Ext<X>Extension to the RDF Data model. Node_FluidThis is the subclass of "fluid" nodes, ie nodes that are "holes" in pattern matching. Node_GraphRDF Graphs as RDF terms. Node_LiteralAn RDF node holding a literal value. Node_TripleRDF triples as RDF terms for RDF-star embedded triples. Node_URIRDF nodes with a global identity given by a URI. Node_Variable"variable" nodes; these are outside the RDF2003 specification, but are used internally for "placeholder" nodes where blank nodes would be wrong, most specifically in Query. Node_Variable.VariableName NodeFactory TripleTriples are the basis for RDF statements; they have a subject, predicate, and object field (all nodes) and express the notion that the relationship named by the predicate holds between the subject and the object. Triple.FieldA Field is a selector from Triples; it allows selectors to be passed around as if they were functions, hooray.
Exception Summary Exception Description JenaNodeException Node.NotLiteralException thrown if a literal-access operation is attempted on a non-literal node.