Uses of Interface
org.apache.jena.rdf.model.RDFNode
Packages that use RDFNode
Package
Description
This package defines the enhanced node and graph classes; an enhanced
node is one embedded in a particular enhanced graph.
Provides a set of abstractions and convenience classes for accessing and manipluating ontologies
represented in RDF.
Provides default implementations for the abstractions defined in the
org.apache.jena.ontology package.A package for creating and manipulating RDF graphs.
This package contains implementations of the interfaces defined
in the .model package, eg ModelCom for Model, ResourceImpl
for Resource, and so on.
Miscellaneous collection of utility classes.
-
Uses of RDFNode in org.apache.jena.assembler
Methods in org.apache.jena.assembler that return RDFNode -
Uses of RDFNode in org.apache.jena.enhanced
Fields in org.apache.jena.enhanced with type parameters of type RDFNodeMethods in org.apache.jena.enhanced with type parameters of type RDFNodeModifier and TypeMethodDescription<T extends RDFNode>
Tallow subclasses to implement RDFNode & its subinterface<X extends RDFNode>
booleanAPI-level method for polymorphic testing<X extends RDFNode>
XAnswer an enhanced node that wraps the given node and conforms to the given interface type.<X extends RDFNode>
XAnswer a facet of this node, where that facet is denoted by the given type.Constructor parameters in org.apache.jena.enhanced with type arguments of type RDFNodeModifierConstructorDescriptionEnhGraph(Graph g, Personality<RDFNode> p) Construct an enhanced graph from the given underlying graph, and a factory for generating enhanced nodes. -
Uses of RDFNode in org.apache.jena.ontology
Subinterfaces of RDFNode in org.apache.jena.ontologyModifier and TypeInterfaceDescriptioninterfaceInterface defining an individual in which all members of a collection are declared pair-wise disjoint.interfaceA property restriction that requires the named property to have have any range instances to be members of a given class.interfaceInterface that represents the category of annotation properties in an ontology language.interfaceEncapsulates a class description formed from a boolean combination of other class descriptions (ie union, intersection or complement).interfaceInterface representing the ontology abstraction for a qualified cardinality restriction.interfaceA property restriction that requires the named property to have have exactly the given number of values for a given instance to be a member of the class defined by the restriction.interfaceClass description that is formed from the complement of another class descriptioninterfaceRepresents an ontology DataRange: a class-like construct that contains only concrete data literals.interfaceInterface that encapsulates the class of properties whose range values are datatype values (as distinct fromObjectPropertywhose values are individuals).interfaceEncapsulates a class description representing a closed enumeration of individuals.interfaceInterface encapsulating the class of properties that are functional: that is, properties in which a given given domain value has a unique value in the range.interfaceA property restriction that requires the named property to have a given individual as its value.interfaceInterface that encapsulates an individual in an ontology, sometimes referred to as a fact or assertion, or a member of the a-box.interfaceEncapsulates a class description that is the intersection of a list of class expressions.interfaceInterface encapsulating the class of properties that are inverse functional: that is, properties in which a given given range value has a unique value in the domain (effectively, a key).interfaceInterface representing the ontology abstraction for a qualified maximum cardinality restriction.interfaceA property restriction that requires the named property to have have at most the given number of values for a given instance to be a member of the class defined by the restriction.interfaceInterface representing the ontology abstraction for a qualified minimum cardinality restriction.interfaceA property restriction that requires the named property to have have at least the given number of values for a given instance to be a member of the class defined by the restriction.interfaceInterface encapsulating properties whose range values are restricted to individuals (as distinct from datatype valuedproperties).interfaceInterface that represents an ontology node characterising a class description.interfaceInterface encapsulating the distinguished instance in a given ontology document that presents meta-data and other processing data about the document (including which other documents are imported by a document).interfaceInterface encapsulating a property in an ontology.interfaceProvides a common super-type for all of the abstractions in this ontology representation package.interfaceRepresents a qualified restriction, in which all values of the restricted property are required to be members of a given class.interfaceInterface that encapsulates a class description formed by restricting one or more properties to have constrained values and/or cardinalities.interfaceA property restriction that requires the named property to have at least one range instance belonging to the given class.interfaceInterface that encapsulates a property that is symmetric, i.e. one in which ifp(x, y)holds, thenp(y, x)must also hold.interfaceInterface that denotes a property that is transitive i.e. one in which ifx p yholds, andy p zholds, thenx p zmust also hold.interfaceClass description that is formed from the union of a list of a class descriptions.Methods in org.apache.jena.ontology that return RDFNodeModifier and TypeMethodDescriptionHasValueRestriction.getHasValue()Answer the RDF value that all values of the restricted property must be equal to.OntResource.getPropertyValue(Property property) Answer the value of a given RDF property for this resource, or null if it doesn't have one.OntTools.Path.getTerminal()Answer the RDF node at the end of the path, if defined, or nullMethods in org.apache.jena.ontology that return types with arguments of type RDFNodeModifier and TypeMethodDescriptionOntResource.listComments(String lang) Answer an iterator over all of the comment literals for this resource.OntResource.listIsDefinedBy()Answer an iterator over all of the resources that are declared to define this resource.OntResource.listLabels(String lang) Answer an iterator over all of the label literals for this resource.OntResource.listSeeAlso()Answer an iterator over all of the resources that are declared to provide additional information about this resource.Methods in org.apache.jena.ontology with parameters of type RDFNodeModifier and TypeMethodDescriptionRestriction.convertToHasValueRestriction(RDFNode value) Convert this restriction to a has value class expressionOntModel.createHasValueRestriction(String uri, Property prop, RDFNode value) Deprecated, for removal: This API element is subject to removal in a future version.Answer a class description defined as the class of those individuals that have the given resource as the value of the given propertystatic OntTools.PathAnswer the shortest path from thestartresource to theendRDF node, such that every step on the path is accepted by the given filter.booleanOntTools.Path.hasTerminus(RDFNode n) Answer true if the last link on the path has object equal tonbooleanAnswer true if this property restriction has the given RDF value as the value which all values of the restricted property must equal.booleanOntModel.isInBaseModel(RDFNode node) Deprecated, for removal: This API element is subject to removal in a future version.Answer true if the given node is a member of the base model of this ontology model.voidHasValueRestriction.removeHasValue(RDFNode value) Remove the statement that this restriction requires the restricted property to have the given value.voidOntResource.removeProperty(Property property, RDFNode value) Remove the specific property-value pair from this resource.voidHasValueRestriction.setHasValue(RDFNode value) Assert that this restriction restricts the property to have the given value.voidOntResource.setPropertyValue(Property property, RDFNode value) Set the value of the given property of this ontology resource to the given value, encoded as an RDFNode. -
Uses of RDFNode in org.apache.jena.ontology.impl
Classes in org.apache.jena.ontology.impl that implement RDFNodeModifier and TypeClassDescriptionclassImplementation of the abstraction of axioms that denote the single name assumption.classImplementation of the allValuesFrom restriction abstraction.classImplementation for ontology abstraction of annotation propertyclassShared implementation for implementations of Boolean clas expressions.classImplementation of the exact qualified cardinality restrictionclassImplementation of the cardinality restriction abstraction.classImplementation of a node representing a complement class description.classDefault implementation of the interface that defines a closed enumeration of concrete values for the range of a property.classImplementation of the datatype property abstractionclassImplementation of a node representing an enumerated class description.classImplementation of the functional property abstractionclassImplementation of the hasValue restriction abstraction.classImplementation for the ontology abstraction representing ontology class descriptions.classImplementation of a node representing an intersection class description.classImplementation of the functional property abstractionclassImplementation of the max qualified cardinality restrictionclassImplementation of the max cardinality restriction abstraction.classImplementation of the min qualified cardinality restrictionclassImplementation of the min cardinality restriction abstraction.classImplementation of the object property abstractionclassImplementation of the ontology abstraction representing ontology classes.classImplementation of the Ontology interface, encapsulating nodes that hold the meta-data about whole ontologies.classImplementation of the abstraction representing a general ontology property.classAbstract base class to provide shared implementation for implementations of ontology resources.classImplementation of qualied restrictions.classImplementation of the ontology abstraction representing restrictions.classImplementation of the someValuesFrom restriction abstraction.classImplementation of the symmetric property abstractionclassImplementation of the transitive property abstractionclassImplementation of a node representing a union class description.Methods in org.apache.jena.ontology.impl that return RDFNodeModifier and TypeMethodDescriptionHasValueRestrictionImpl.getHasValue()Answer the RDF value that all values of the restricted property must be equal to.OntResourceImpl.getPropertyValue(Property property) Answer the value of a given RDF property for this ontology resource, or null if it doesn't have one.Methods in org.apache.jena.ontology.impl that return types with arguments of type RDFNodeModifier and TypeMethodDescriptionOntResourceImpl.listComments(String lang) Answer an iterator over all of the comment literals for this resource.OntResourceImpl.listIsDefinedBy()Answer an iterator over all of the resources that are declared to define this resource.OntResourceImpl.listLabels(String lang) Answer an iterator over all of the label literals for this resource.OntResourceImpl.listSeeAlso()Answer an iterator over all of the resources that are declared to provide addition information about this resource.Methods in org.apache.jena.ontology.impl with parameters of type RDFNodeModifier and TypeMethodDescriptionRestrictionImpl.convertToHasValueRestriction(RDFNode value) Convert this restriction to a has value class expressionOntModelImpl.createHasValueRestriction(String uri, Property prop, RDFNode value) Answer a class description defined as the class of those individuals that have the given resource as the value of the given propertybooleanAnswer true if this property restriction has the given RDF value as the value which all values of the restricted property must equal.booleanOntModelImpl.isInBaseModel(RDFNode node) Answer true if the given node is a member of the base model of this ontology model.OntModelImpl.listStatements(Resource subject, Property predicate, RDFNode object, Model posit) Find all the statements matching a pattern.voidHasValueRestrictionImpl.removeHasValue(RDFNode value) Remove the statement that this restriction requires the restricted property to have the given value.voidOntResourceImpl.removeProperty(Property property, RDFNode value) Remove the specific RDF property-value pair from this DAML resource.voidHasValueRestrictionImpl.setHasValue(RDFNode value) Assert that this restriction restricts the property to have the given value.voidOntResourceImpl.setPropertyValue(Property property, RDFNode value) Set the value of the given property of this ontology resource to the given value, encoded as an RDFNode. -
Uses of RDFNode in org.apache.jena.rdf.model
Subinterfaces of RDFNode in org.apache.jena.rdf.modelModifier and TypeInterfaceDescriptioninterfaceAn RDF Alternative container.interfaceAn RDF Bag container.interfaceAn RDF Container.interfaceAn RDF Literal.interfaceAn RDF Property.interfaceProvides a convenience encapsulation for lists formed from chains of RDF statements arranged to form a head/tail cons-cell structure.interfaceAn RDF Resource.interfaceRDF Sequence container.interfaceThe Jena Model abstraction of an RDF 1.2 triple term.Methods in org.apache.jena.rdf.model with type parameters of type RDFNodeModifier and TypeMethodDescription<T extends RDFNode>
TRDFNodes can be converted to different implementation types.<T extends RDFNode>
booleanAnswer true iff this RDFNode can be viewed as an instance ofview: that is, if it has already been viewed in this way, or if it has an attached model in which it has properties that permit it to be viewed in this way.Methods in org.apache.jena.rdf.model that return RDFNodeModifier and TypeMethodDescriptionAnswer an RDF node wrappingnsuitably; URI nodes become Resources with the same URI, blank nodes become Resources with URI null but the same AnonId, and literal nodes become Literals withnas their value carrier.default RDFNodeModel.createResource(Statement statement) Deprecated, for removal: This API element is subject to removal in a future version.RDFList.get(int i) Answer the node that is the i'th element of the list, assuming that the head is item zero.Alt.getDefault()Return the default value for this resource.RDFList.getHead()Answer the value that is at the head of the list.Seq.getObject(int index) Get the member at a given index.Statement.getObject()An accessor function to return the object of the statement.ModelCon.getRDFNode(Node n) Answer a .equals() version of this node, except that it's in the modelm.NodeIterator.next()Return the next RDFNode of the iteration.NodeIterator.nextNode()Return the next RDFNode of the iteration.Replace the value at the i'th position in the list with the given value.Update the head of the list to have the given value, and return the previous value.Methods in org.apache.jena.rdf.model that return types with arguments of type RDFNodeModifier and TypeMethodDescriptionRDFList.asJavaList()Answer the contents of this RDF list as a Java list of RDFNode values.RDFList.iterator()Answer an iterator over the elements of the list.Methods in org.apache.jena.rdf.model with parameters of type RDFNodeModifier and TypeMethodDescriptionAdd a new value to a container.add a statement to this model.voidAdd the given value to the end of the list.Insert a new member into the sequence at the specified position.Resource.addProperty(Property p, RDFNode o) Add a property to this resource.voidApply a function to the given RDF node.Statement.changeObject(RDFNode o) change the object of the statement (S, P, X) to (S, P, o).Return a reference to a new list cell whose head isvalueand whose tail is this list.booleanDetermine whether the container contains a valuebooleanDetermine if an (S, P, O) pattern is present in this model, with null allowed to represent a wildcard match.booleanAnswer true if the given node appears as the value of a value of any of the cells of this list.booleanModel.containsResource(RDFNode r) determine if the RDFNode r appears in any statement of this model.Model.createList(RDFNode... members) Answer a new list containing the nodes from the given eleemnts, in order.Model.createStatement(Resource s, Property p, RDFNode o) Create a Statement instance.static StatementResourceFactory.createStatement(Resource subject, Property predicate, RDFNode object) Create a new statement.ResourceFactory.Interface.createStatement(Resource subject, Property predicate, RDFNode object) Create a new statement.booleanResource.hasProperty(Property p, RDFNode o) Test if this resource has a given property with a given value.intAnswer the index of the first occurrence of the given value in the list, or -1 if the value is not in the list.intAnswer the index of the first occurrence of the given value in the list after indexstart, or -1 if the value is not in the list after the given start point.intReturn the index of a given member of the sequence.Model.listResourcesWithProperty(Property p, RDFNode o) Answer an iterator [with no duplicates] over all the resources in this model that have propertypwith valueo.InfModel.listStatements(Resource subject, Property predicate, RDFNode object, Model posit) Find all the statements matching a pattern.Model.listStatements(Resource s, Property p, RDFNode o) Find all the statements matching a pattern.Model.listSubjectsWithProperty(Property p, RDFNode o) An alias forlistResourcesWithProperty, retained for backward compatibility.Apply a function to the given RDF node.remove the statement(s, p, o)from this model and answer this model.Remove the given value from this list.Remove all the statements matching (s, p, o) from this model.Replace the value at the i'th position in the list with the given value.Set the value at a given index in the sequence.Alt.setDefault(RDFNode o) Set the default value of this container.Update the head of the list to have the given value, and return the previous value.Answer the list that is this list with the given value added to the end of the list.Method parameters in org.apache.jena.rdf.model with type arguments of type RDFNodeModifier and TypeMethodDescriptionAnswer a new list that is formed by adding each element of this list to the head of the the list formed from the givennodes.voidRDFList.concatenate(Iterator<? extends RDFNode> nodes) Add the nodes returned by the given iterator to the end of this list.Model.createList(Iterator<? extends RDFNode> members) Answer a new list containing the resources from the given iterator, in order.<T> ExtendedIterator<T>Answer an iterator of the elements of this list, to each of which the given map function has been applied.Constructors in org.apache.jena.rdf.model with parameters of type RDFNodeModifierConstructorDescription -
Uses of RDFNode in org.apache.jena.rdf.model.impl
Classes in org.apache.jena.rdf.model.impl that implement RDFNodeModifier and TypeClassDescriptionclassAn implementation of Alt.classAn implementation of BagclassAn internal class not normally of interest to application developers.classAn implementation of Literal.classAn implementation of Property.classStandard implementation the list abstraction from rdf.model.classAn implementation of Resource.classAn implementation of SeqclassAn implementation of statement terms (RDf 1.2 triple terms).Methods in org.apache.jena.rdf.model.impl that return RDFNodeModifier and TypeMethodDescriptionstatic RDFNodeStatementImpl.createObject(Node n, EnhGraph g) RDFListImpl.get(int i) Answer the node that is the i'th element of the list, assuming that the head is item zero.AltImpl.getDefault()RDFListImpl.getHead()Answer the value that is at the head of the list.SeqImpl.getObject(int index) abstract RDFNodeStatementBase.getObject()StatementImpl.getObject()ModelCom.getRDFNode(Node n) ContNodeIteratorImpl.next()SeqNodeIteratorImpl.next()ContNodeIteratorImpl.nextNode()NodeIteratorImpl.nextNode()SeqNodeIteratorImpl.nextNode()NTripleReader.readNode()Replace the value at the i'th position in the list with the given value.Update the head of the list to have the given value, and return the previous value.Methods in org.apache.jena.rdf.model.impl that return types with arguments of type RDFNodeModifier and TypeMethodDescriptionRDFListImpl.asJavaList()Answer the contents of this RDF list as a Java list of RDFNode values.RDFListImpl.iterator()Answer an iterator over the elements of the list.Methods in org.apache.jena.rdf.model.impl with parameters of type RDFNodeModifier and TypeMethodDescriptionvoidAdd the given value to the end of the list.ResourceImpl.addProperty(Property p, RDFNode o) static NodeStatementBase.changeObject(RDFNode o) Return a reference to a new list cell whose head isvalueand whose tail is this list.booleanContainerImpl.containerContains(RDFNode n) intContainerImpl.containerIndexOf(RDFNode n) booleanbooleanbooleanAnswer true if the given node appears as the value of a value of any of the cells of this list.booleanModelCom.containsResource(RDFNode r) ModelCom.createList(RDFNode... members) Answer a new list containing the RDF nodes from the given array, in orderModelCom.createStatement(Resource r, Property p, RDFNode o) create a Statement from the given r, p, and o.booleanResourceImpl.hasProperty(Property p, RDFNode o) intAnswer the index of the first occurrence of the given value in the list, or -1 if the value is not in the list.intAnswer the index of the first occurrence of the given value in the list after indexstart, or -1 if the value is not in the list after the given start point.intModelCom.listResourcesWithProperty(Property p, RDFNode o) InfModelImpl.listStatements(Resource subject, Property predicate, RDFNode object, Model posit) Find all the statements matching a pattern.ModelCom.listStatements(Resource S, Property P, RDFNode O) ModelCom.listSubjectsWithProperty(Property p, RDFNode o) RDFListImpl.newListCell(RDFNode value, Resource tail) Construct a new list cell with the given value and tail.Remove the given value from this list.Replace the value at the i'th position in the list with the given value.AltImpl.setDefault(RDFNode o) Update the head of the list to have the given value, and return the previous value.Answer the list that is this list with the given value added to the end of the list.Method parameters in org.apache.jena.rdf.model.impl with type arguments of type RDFNodeModifier and TypeMethodDescriptionAnswer a new list that is formed by adding each element of this list to the head of the the list formed from the givennodes.voidRDFListImpl.concatenate(Iterator<? extends RDFNode> nodes) Add the nodes returned by the given iterator to the end of this list.ModelCom.createList(Iterator<? extends RDFNode> members) Answer a new list containing the resources from the given iterator, in order.<T> ExtendedIterator<T>Answer an iterator of the elements of this list, to each of which the given map function has been applied.Constructors in org.apache.jena.rdf.model.impl with parameters of type RDFNodeModifierConstructorDescriptionStatementImpl(Resource subject, Property predicate, RDFNode object) StatementImpl(Resource subject, Property predicate, RDFNode object, ModelCom model) Creates new StatementImplConstructor parameters in org.apache.jena.rdf.model.impl with type arguments of type RDFNodeModifierConstructorDescriptionModelCom(Graph base, Personality<RDFNode> personality) NodeIteratorImpl(Iterator<? extends RDFNode> iter, Object object) Creates new NodeIteratorImpl -
Uses of RDFNode in org.apache.jena.util
Methods in org.apache.jena.util with parameters of type RDFNode
Model.createStatementTerm(org.apache.jena.rdf.model.Statement)