What's RDF, anyway?
rdf: scheme for native RDF datasourcesrdf:foo) or RDF/XML data sources (think
N3, turtle)Mainly RDF/XML parser/serializer work
Exposing better APIs, to both core code base and web applications
Low level APIs only, exposing commonly performant queries, simple asserts
rdf:datatype, is NC:parseTypesubject -> predicate -> object instead of source -> property -> targetnsISimpleEnumeratorQueryInterfacerdfITripleVisitor
interface rdfITripleVisitor : nsISupports
{
void visit(in nsIRDFResource aSubject, in nsIRDFResource aPredicate,
in nsIRDFNode aObject, in boolean aTruthValue);
};
function aTripleVisitor(aSubject, aPred, aObj, aTruth) {return;}
someDS.visitAllTriples(aTripleVisitor);
nullComponents.returnCode
nsIWeakReference,
resource holds weak reference to delegate, resource may outlive
delegate, delegate may hold strong reference to resource (hover for diagram)
nsISupportsnsIInterfaceRequestor
window.RDF, grants access to
resources and literalsContainerUtilshttp://home.netscape.com/NC-rdf#