Uses of Interface
org.apache.jena.rdf.model.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
-
Uses of RDFNode in org.apache.jena.enhanced
Modifier 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.ModifierConstructorDescriptionEnhGraph
(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
Modifier and TypeInterfaceDescriptioninterface
Interface defining an individual in which all members of a collection are declared pair-wise disjoint.interface
A property restriction that requires the named property to have have any range instances to be members of a given class.interface
Interface that represents the category of annotation properties in an ontology language.interface
Encapsulates a class description formed from a boolean combination of other class descriptions (ie union, intersection or complement).interface
Interface representing the ontology abstraction for a qualified cardinality restriction.interface
A 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.interface
Class description that is formed from the complement of another class descriptioninterface
Represents an ontology DataRange: a class-like construct that contains only concrete data literals.interface
Interface that encapsulates the class of properties whose range values are datatype values (as distinct fromObjectProperty
whose values are individuals).interface
Encapsulates a class description representing a closed enumeration of individuals.interface
Interface 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.interface
A property restriction that requires the named property to have a given individual as its value.interface
Interface that encapsulates an individual in an ontology, sometimes referred to as a fact or assertion, or a member of the a-box.interface
Encapsulates a class description that is the intersection of a list of class expressions.interface
Interface 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).interface
Interface representing the ontology abstraction for a qualified maximum cardinality restriction.interface
A 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.interface
Interface representing the ontology abstraction for a qualified minimum cardinality restriction.interface
A 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.interface
Interface encapsulating properties whose range values are restricted to individuals (as distinct from datatype valuedproperties
).interface
Interface that represents an ontology node characterising a class description.interface
Interface 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).interface
Interface encapsulating a property in an ontology.interface
Provides a common super-type for all of the abstractions in this ontology representation package.interface
Represents a qualified restriction, in which all values of the restricted property are required to be members of a given class.interface
Interface that encapsulates a class description formed by restricting one or more properties to have constrained values and/or cardinalities.interface
A property restriction that requires the named property to have at least one range instance belonging to the given class.interface
Interface that encapsulates a property that is symmetric, i.e. one in which ifp(x, y)
holds, thenp(y, x)
must also hold.interface
Interface that denotes a property that is transitive i.e. one in which ifx p y
holds, andy p z
holds, thenx p z
must also hold.interface
Class description that is formed from the union of a list of a class descriptions.Modifier 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 nullModifier 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.Modifier and TypeMethodDescriptionRestriction.convertToHasValueRestriction
(RDFNode value) Convert this restriction to a has value class expressionOntModel.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 propertystatic OntTools.Path
Answer the shortest path from thestart
resource to theend
RDF node, such that every step on the path is accepted by the given filter.boolean
OntTools.Path.hasTerminus
(RDFNode n) Answer true if the last link on the path has object equal ton
boolean
Answer true if this property restriction has the given RDF value as the value which all values of the restricted property must equal.boolean
OntModel.isInBaseModel
(RDFNode node) Answer true if the given node is a member of the base model of this ontology model.void
HasValueRestriction.removeHasValue
(RDFNode value) Remove the statement that this restriction requires the restricted property to have the given value.void
OntResource.removeProperty
(Property property, RDFNode value) Remove the specific property-value pair from this resource.void
HasValueRestriction.setHasValue
(RDFNode value) Assert that this restriction restricts the property to have the given value.void
OntResource.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
Modifier and TypeClassDescriptionclass
Implementation of the abstraction of axioms that denote the single name assumption.class
Implementation of the allValuesFrom restriction abstraction.class
Implementation for ontology abstraction of annotation propertyclass
Shared implementation for implementations of Boolean clas expressions.class
Implementation of the exact qualified cardinality restrictionclass
Implementation of the cardinality restriction abstraction.class
Implementation of a node representing a complement class description.class
Default implementation of the interface that defines a closed enumeration of concrete values for the range of a property.class
Implementation of the datatype property abstractionclass
Implementation of a node representing an enumerated class description.class
Implementation of the functional property abstractionclass
Implementation of the hasValue restriction abstraction.class
Implementation for the ontology abstraction representing ontology class descriptions.class
Implementation of a node representing an intersection class description.class
Implementation of the functional property abstractionclass
Implementation of the max qualified cardinality restrictionclass
Implementation of the max cardinality restriction abstraction.class
Implementation of the min qualified cardinality restrictionclass
Implementation of the min cardinality restriction abstraction.class
Implementation of the object property abstractionclass
Implementation of the ontology abstraction representing ontology classes.class
Implementation of the Ontology interface, encapsulating nodes that hold the meta-data about whole ontologies.class
Implementation of the abstraction representing a general ontology property.class
Abstract base class to provide shared implementation for implementations of ontology resources.class
Implementation of qualied restrictions.class
Implementation of the ontology abstraction representing restrictions.class
Implementation of the someValuesFrom restriction abstraction.class
Implementation of the symmetric property abstractionclass
Implementation of the transitive property abstractionclass
Implementation of a node representing a union class description.Modifier 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.Modifier 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.Modifier 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 propertyboolean
Answer true if this property restriction has the given RDF value as the value which all values of the restricted property must equal.boolean
OntModelImpl.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.void
HasValueRestrictionImpl.removeHasValue
(RDFNode value) Remove the statement that this restriction requires the restricted property to have the given value.void
OntResourceImpl.removeProperty
(Property property, RDFNode value) Remove the specific RDF property-value pair from this DAML resource.void
HasValueRestrictionImpl.setHasValue
(RDFNode value) Assert that this restriction restricts the property to have the given value.void
OntResourceImpl.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
Modifier and TypeInterfaceDescriptioninterface
An RDF Alternative container.interface
An RDF Bag container.interface
An RDF Container.interface
An RDF Literal.interface
An RDF Property.interface
Provides a convenience encapsulation for lists formed from chains of RDF statements arranged to form a head/tail cons-cell structure.interface
An RDF Resource.interface
RDF Sequence container.Modifier 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.Modifier and TypeMethodDescriptionAnswer an RDF node wrappingn
suitably; URI nodes become Resources with the same URI, blank nodes become Resources with URI null but the same AnonId, and literal nodes become Literals withn
as their value carrier.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 funtion 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.Modifier 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.Modifier and TypeMethodDescriptionAdd a new value to a container.add a statement to this model.void
Add 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.void
Apply 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 isvalue
and whose tail is this list.boolean
Determine whether the container contains a valueboolean
Determine if an (S, P, O) pattern is present in this model, with null allowed to represent a wildcard match.boolean
Answer true if the given node appears as the value of a value of any of the cells of this list.boolean
Model.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 Statement
ResourceFactory.createStatement
(Resource subject, Property predicate, RDFNode object) Create a new statement.ResourceFactory.Interface.createStatement
(Resource subject, Property predicate, RDFNode object) Create a new statement.boolean
Resource.hasProperty
(Property p, RDFNode o) Test if this resource has a given property with a given value.int
Answer the index of the first occurrence of the given value in the list, or -1 if the value is not in the list.int
Answer 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.int
Return 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 propertyp
with 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.Modifier 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
.void
RDFList.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.ModifierConstructorDescription -
Uses of RDFNode in org.apache.jena.rdf.model.impl
Modifier and TypeClassDescriptionclass
An implementation of Alt.class
An implementation of Bagclass
An internal class not normally of interest to application developers.class
An implementation of Literal.class
An implementation of Property.class
Standard implementation the list abstraction from rdf.model.class
An implementation of Resource.class
An implementation of SeqModifier and TypeMethodDescriptionstatic RDFNode
StatementImpl.createObject
(Node n, EnhGraph g) create an RDF node which might be a literal, or not.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 RDFNode
StatementBase.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.Modifier 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.Modifier and TypeMethodDescriptionvoid
Add the given value to the end of the list.ResourceImpl.addProperty
(Property p, RDFNode o) static Node
StatementBase.changeObject
(RDFNode o) Return a reference to a new list cell whose head isvalue
and whose tail is this list.boolean
ContainerImpl.containerContains
(RDFNode n) int
ContainerImpl.containerIndexOf
(RDFNode n) boolean
boolean
boolean
Answer true if the given node appears as the value of a value of any of the cells of this list.boolean
ModelCom.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.boolean
ResourceImpl.hasProperty
(Property p, RDFNode o) int
Answer the index of the first occurrence of the given value in the list, or -1 if the value is not in the list.int
Answer 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.int
ModelCom.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.Modifier 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
.void
RDFListImpl.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.ModifierConstructorDescriptionStatementImpl
(Resource subject, Property predicate, RDFNode object) StatementImpl
(Resource subject, Property predicate, RDFNode object, ModelCom model) Creates new StatementImplModifierConstructorDescriptionModelCom
(Graph base, Personality<RDFNode> personality) NodeIteratorImpl
(Iterator<? extends RDFNode> iter, Object object) Creates new NodeIteratorImpl -
Uses of RDFNode in org.apache.jena.util