A package for creating and manipulating RDF graphs.
Interface Summary Interface Description AltAn RDF Alternative container. BagAn RDF Bag container. ContainerAn RDF Container. InfModelAn extension to the normal Model interface that supports access to any underlying inference capability. LiteralAn RDF Literal. ModelAn RDF Model. ModelChangedListenerThe interface for classes that listen for model-changed events. ModelConConvenience methods which extend the
ModelGetterA ModelGetter object can retrieve a Model given a URL for it. ModelGraphInterfaceModelGraphInterface - this interface mediates between the API Model level and the SPI Graph level. ModelMakerA ModelMaker contains a collection of named models, methods for creating new models [both named and anonymous] and opening previously-named models, removing models, and accessing a single "default" Model for this Maker. ModelReaderA component interface used by ModelGetter for reading models. ModelSourceThe revised and soon-to-be-core interface for sources of models, typically generated from RDF descriptions. NodeIteratorAn iterator which returns RDF nodes. NsIteratorAn iterator which returns namespace URI's. PropertyAn RDF Property. RDFErrorHandlerA generic error handler. RDFListProvides a convenience encapsulation for lists formed from chains of RDF statements arranged to form a head/tail cons-cell structure. RDFList.ApplyFnInterface that encapsulates a function to apply to every element in a list. RDFList.ReduceFnInterface that encapsulates a function to apply to each element of a list in turn, and passing the result to an accumulator. RDFNodeInterface covering RDF resources and literals. RDFReaderFAn RDFReader factory inferface. RDFReaderIAn
RDFReaderreads a serialized representation of RDF, e.g.
RDFVisitorThe interface for visiting (ie type-dispatching) an RDF Node. RDFWriterFAn RDFWriter factory interface. RDFWriterIRDFWriterI is an interface to RDF serializers. ReifiedStatementA ReifiedStatement represents a Statement as a Resource. ResIteratorAn iterator which returns RDF Resources. ResourceAn RDF Resource. ResourceF Deprecated. ResourceFactory.InterfaceThe interface to resource factory objects. RSIteratorAn RSIterator is a ClosableIterator (qv) which delivers only ReifedStatement's and which has a next-method with that return type. SelectorA Statement selector. SeqRDF Sequence container. StatementAn RDF Statement. StatementBoundaryAn interface for expressing search boundaries in terms of bounding statements. StmtIteratorAn iterator which returns RDF Statements.
Class Summary Class Description AnonIdSystem id for an anonymous node. ModelExtractModelExtract - a wrapper for GraphExtract, allowing rooted sub-models to be extracted from other models with some boundary condition. ModelFactoryModelFactory provides methods for creating standard kinds of Model. ModelFactoryBaseHelper functions for ModelFactory - in here to keep from obtruding on the end-users. ResourceFactoryA Factory class for creating resources. SimpleSelectorA general selector class for use when querying models. StatementBoundaryBaseStatementBoundaryBase - a base class for StatementBoundarys, with built-in conversation to triples and a continueWith as well as a stopAt. StatementTripleBoundaryStatementTripleBoundary - a StatementBoundary that just wraps a TripleBoundary.
Exception Summary Exception Description AltHasNoDefaultExceptionException thrown if an Alt has no default statement. DoesNotReifyExceptionThis exception may be raised when an attempt to convert an RDFNode to a ReifiedStatement fails because the RDFNode does not correspond to a reification. EmptyListExceptionA exception that is thrown when an operation is attempted on an empty (nil) list that actually requires a list of length one or more. EmptyListUpdateExceptionException that is thrown when an attept is made to perform a side-effectful operation on an
RDFListthat is the empty list, or
HasNoModelExceptionException to throw when a Statement or Resource (which don't have a useful common supertype, alas) don't have an associated model. InvalidListExceptionA exception that is thrown when an operation is attempted on a list that is not well-formed, and is being processed in strict mode. ListIndexExceptionA exception that is thrown when an operation attempts to access an indexed list element beyond the length of the list. LiteralRequiredExceptionException to throw when an RDFNode required to be a Literal isn't, or when a literal Node is required but a non-literal Node supplied. ResourceRequiredExceptionException to throw when an RDFNode required to be a Resource isn't, or when a Node supposed to be a resource isn't. SeqIndexBoundsExceptionException to throw when the index of a sequence is not in range.