Uses of Interface
org.apache.jena.rdf.model.RDFNode
-
Packages that use RDFNode Package Description org.apache.jena.assembler org.apache.jena.enhanced This package defines the enhanced node and graph classes; an enhanced node is one embedded in a particular enhanced graph.org.apache.jena.ontology Provides a set of abstractions and convenience classes for accessing and manipluating ontologies represented in RDF.org.apache.jena.ontology.impl Provides default implementations for the abstractions defined in theorg.apache.jena.ontology
package.org.apache.jena.rdf.model A package for creating and manipulating RDF graphs.org.apache.jena.rdf.model.impl This package contains implementations of the interfaces defined in the .model package, eg ModelCom for Model, ResourceImpl for Resource, and so on.org.apache.jena.util Miscellaneous collection of utility classes. -
-
Uses of RDFNode in org.apache.jena.assembler
Methods in org.apache.jena.assembler that return RDFNode Modifier and Type Method Description RDFNode
BadObjectException. getObject()
-
Uses of RDFNode in org.apache.jena.enhanced
Fields in org.apache.jena.enhanced with type parameters of type RDFNode Modifier and Type Field Description static Personality<RDFNode>
BuiltinPersonalities. model
Methods in org.apache.jena.enhanced with type parameters of type RDFNode Modifier and Type Method Description <T extends RDFNode>
TEnhNode. as(java.lang.Class<T> t)
allow subclasses to implement RDFNode & its subinterface<X extends RDFNode>
booleanEnhNode. canAs(java.lang.Class<X> t)
API-level method for polymorphic testing<X extends RDFNode>
XEnhGraph. getNodeAs(Node n, java.lang.Class<X> interf)
Answer an enhanced node that wraps the given node and conforms to the given interface type.<X extends RDFNode>
XEnhNode. viewAs(java.lang.Class<X> t)
Answer a facet of this node, where that facet is denoted by the given type.Method parameters in org.apache.jena.enhanced with type arguments of type RDFNode Modifier and Type Method Description void
EnhGraph. setNodeCache(Cache<Node,RDFNode> cc)
Set the cache controller object for this graphConstructor parameters in org.apache.jena.enhanced with type arguments of type RDFNode Constructor Description EnhGraph(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.ontology Modifier and Type Interface Description interface
AllDifferent
Interface defining an individual in which all members of a collection are declared pair-wise disjoint.interface
AllValuesFromRestriction
A property restriction that requires the named property to have have any range instances to be members of a given class.interface
AnnotationProperty
Interface that represents the category of annotation properties in an ontology language.interface
BooleanClassDescription
Encapsulates a class description formed from a boolean combination of other class descriptions (ie union, intersection or complement).interface
CardinalityQRestriction
Interface representing the ontology abstraction for a qualified cardinality restriction.interface
CardinalityRestriction
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
ComplementClass
Class description that is formed from the complement of another class descriptioninterface
DataRange
Represents an ontology DataRange: a class-like construct that contains only concrete data literals.interface
DatatypeProperty
Interface that encapsulates the class of properties whose range values are datatype values (as distinct fromObjectProperty
whose values are individuals).interface
EnumeratedClass
Encapsulates a class description representing a closed enumeration of individuals.interface
FunctionalProperty
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
HasValueRestriction
A property restriction that requires the named property to have a given individual as its value.interface
Individual
Interface that encapsulates an individual in an ontology, sometimes referred to as a fact or assertion, or a member of the a-box.interface
IntersectionClass
Encapsulates a class description that is the intersection of a list of class expressions.interface
InverseFunctionalProperty
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
MaxCardinalityQRestriction
Interface representing the ontology abstraction for a qualified maximum cardinality restriction.interface
MaxCardinalityRestriction
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
MinCardinalityQRestriction
Interface representing the ontology abstraction for a qualified minimum cardinality restriction.interface
MinCardinalityRestriction
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
ObjectProperty
Interface encapsulating properties whose range values are restricted to individuals (as distinct from datatype valuedproperties
).interface
OntClass
Interface that represents an ontology node characterising a class description.interface
Ontology
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
OntProperty
Interface encapsulating a property in an ontology.interface
OntResource
Provides a common super-type for all of the abstractions in this ontology representation package.interface
QualifiedRestriction
Represents a qualified restriction, in which all values of the restricted property are required to be members of a given class.interface
Restriction
Interface that encapsulates a class description formed by restricting one or more properties to have constrained values and/or cardinalities.interface
SomeValuesFromRestriction
A property restriction that requires the named property to have at least one range instance belonging to the given class.interface
SymmetricProperty
Interface that encapsulates a property that is symmetric, i.e. one in which ifp(x, y)
holds, thenp(y, x)
must also hold.interface
TransitiveProperty
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
UnionClass
Class description that is formed from the union of a list of a class descriptions.Methods in org.apache.jena.ontology that return RDFNode Modifier and Type Method Description RDFNode
HasValueRestriction. getHasValue()
Answer the RDF value that all values of the restricted property must be equal to.RDFNode
OntResource. getPropertyValue(Property property)
Answer the value of a given RDF property for this resource, or null if it doesn't have one.RDFNode
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 RDFNode Modifier and Type Method Description ExtendedIterator<RDFNode>
OntResource. listComments(java.lang.String lang)
Answer an iterator over all of the comment literals for this resource.ExtendedIterator<RDFNode>
OntResource. listIsDefinedBy()
Answer an iterator over all of the resources that are declared to define this resource.ExtendedIterator<RDFNode>
OntResource. listLabels(java.lang.String lang)
Answer an iterator over all of the label literals for this resource.ExtendedIterator<RDFNode>
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 RDFNode Modifier and Type Method Description HasValueRestriction
Restriction. convertToHasValueRestriction(RDFNode value)
Convert this restriction to a has value class expressionHasValueRestriction
OntModel. createHasValueRestriction(java.lang.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
OntTools. findShortestPath(Model m, Resource start, RDFNode end, java.util.function.Predicate<Statement> onPath)
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
HasValueRestriction. hasValue(RDFNode value)
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
Classes in org.apache.jena.ontology.impl that implement RDFNode Modifier and Type Class Description class
AllDifferentImpl
Implementation of the abstraction of axioms that denote the single name assumption.class
AllValuesFromRestrictionImpl
Implementation of the allValuesFrom restriction abstraction.class
AnnotationPropertyImpl
Implementation for ontology abstraction of annotation propertyclass
BooleanClassDescriptionImpl
Shared implementation for implementations of Boolean clas expressions.class
CardinalityQRestrictionImpl
Implementation of the exact qualified cardinality restrictionclass
CardinalityRestrictionImpl
Implementation of the cardinality restriction abstraction.class
ComplementClassImpl
Implementation of a node representing a complement class description.class
DataRangeImpl
Default implementation of the interface that defines a closed enumeration of concrete values for the range of a property.class
DatatypePropertyImpl
Implementation of the datatype property abstractionclass
EnumeratedClassImpl
Implementation of a node representing an enumerated class description.class
FunctionalPropertyImpl
Implementation of the functional property abstractionclass
HasValueRestrictionImpl
Implementation of the hasValue restriction abstraction.class
IndividualImpl
Implementation for the ontology abstraction representing ontology class descriptions.class
IntersectionClassImpl
Implementation of a node representing an intersection class description.class
InverseFunctionalPropertyImpl
Implementation of the functional property abstractionclass
MaxCardinalityQRestrictionImpl
Implementation of the max qualified cardinality restrictionclass
MaxCardinalityRestrictionImpl
Implementation of the max cardinality restriction abstraction.class
MinCardinalityQRestrictionImpl
Implementation of the min qualified cardinality restrictionclass
MinCardinalityRestrictionImpl
Implementation of the min cardinality restriction abstraction.class
ObjectPropertyImpl
Implementation of the object property abstractionclass
OntClassImpl
Implementation of the ontology abstraction representing ontology classes.class
OntologyImpl
Implementation of the Ontology interface, encapsulating nodes that hold the meta-data about whole ontologies.class
OntPropertyImpl
Implementation of the abstraction representing a general ontology property.class
OntResourceImpl
Abstract base class to provide shared implementation for implementations of ontology resources.class
QualifiedRestrictionImpl
Implementation of qualied restrictions.class
RestrictionImpl
Implementation of the ontology abstraction representing restrictions.class
SomeValuesFromRestrictionImpl
Implementation of the someValuesFrom restriction abstraction.class
SymmetricPropertyImpl
Implementation of the symmetric property abstractionclass
TransitivePropertyImpl
Implementation of the transitive property abstractionclass
UnionClassImpl
Implementation of a node representing a union class description.Methods in org.apache.jena.ontology.impl that return RDFNode Modifier and Type Method Description RDFNode
HasValueRestrictionImpl. getHasValue()
Answer the RDF value that all values of the restricted property must be equal to.RDFNode
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 RDFNode Modifier and Type Method Description ExtendedIterator<RDFNode>
OntResourceImpl. listComments(java.lang.String lang)
Answer an iterator over all of the comment literals for this resource.ExtendedIterator<RDFNode>
OntResourceImpl. listIsDefinedBy()
Answer an iterator over all of the resources that are declared to define this resource.ExtendedIterator<RDFNode>
OntResourceImpl. listLabels(java.lang.String lang)
Answer an iterator over all of the label literals for this resource.ExtendedIterator<RDFNode>
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 RDFNode Modifier and Type Method Description HasValueRestriction
RestrictionImpl. convertToHasValueRestriction(RDFNode value)
Convert this restriction to a has value class expressionHasValueRestriction
OntModelImpl. createHasValueRestriction(java.lang.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
HasValueRestrictionImpl. hasValue(RDFNode value)
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.StmtIterator
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
Subinterfaces of RDFNode in org.apache.jena.rdf.model Modifier and Type Interface Description interface
Alt
An RDF Alternative container.interface
Bag
An RDF Bag container.interface
Container
An RDF Container.interface
Literal
An RDF Literal.interface
Property
An RDF Property.interface
RDFList
Provides a convenience encapsulation for lists formed from chains of RDF statements arranged to form a head/tail cons-cell structure.interface
ReifiedStatement
A ReifiedStatement represents a Statement as a Resource.interface
Resource
An RDF Resource.interface
Seq
RDF Sequence container.Methods in org.apache.jena.rdf.model with type parameters of type RDFNode Modifier and Type Method Description <T extends RDFNode>
TRDFNode. as(java.lang.Class<T> view)
RDFNodes can be converted to different implementation types.<T extends RDFNode>
booleanRDFNode. canAs(java.lang.Class<T> view)
Answer 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 RDFNode Modifier and Type Method Description RDFNode
ModelGraphInterface. asRDFNode(Node n)
Answer 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.RDFNode
RDFList. get(int i)
Answer the node that is the i'th element of the list, assuming that the head is item zero.RDFNode
Alt. getDefault()
Return the default value for this resource.RDFNode
RDFList. getHead()
Answer the value that is at the head of the list.RDFNode
Selector. getObject()
Answer the only RDFNode object that this Selector will match, or null if it can match more than a single node.RDFNode
Seq. getObject(int index)
Get the member at a given index.RDFNode
SimpleSelector. getObject()
Return the object constraint of this selector.RDFNode
Statement. getObject()
An accessor funtion to return the object of the statement.RDFNode
ModelCon. getRDFNode(Node n)
RDFNode
RDFNode. inModel(Model m)
Answer a .equals() version of this node, except that it's in the modelm
.RDFNode
NodeIterator. next()
Return the next RDFNode of the iteration.RDFNode
NodeIterator. nextNode()
Return the next RDFNode of the iteration.RDFNode
RDFList. replace(int i, RDFNode value)
Replace the value at the i'th position in the list with the given value.RDFNode
RDFList. setHead(RDFNode 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 RDFNode Modifier and Type Method Description java.util.List<RDFNode>
RDFList. asJavaList()
Answer the contents of this RDF list as a Java list of RDFNode values.ExtendedIterator<RDFNode>
RDFList. iterator()
Answer an iterator over the elements of the list.Methods in org.apache.jena.rdf.model with parameters of type RDFNode Modifier and Type Method Description Container
Container. add(RDFNode o)
Add a new value to a container.Model
ModelCon. add(Resource s, Property p, RDFNode o)
add a statement to this model.void
RDFList. add(RDFNode value)
Add the given value to the end of the list.Seq
Seq. add(int index, RDFNode o)
Insert a new member into the sequence at the specified position.Resource
Resource. addProperty(Property p, RDFNode o)
Add a property to this resource.void
RDFList.ApplyFn. apply(RDFNode node)
Apply a function to the given RDF node.Statement
Statement. changeObject(RDFNode o)
change the object of the statement (S, P, X) to (S, P, o).RDFList
RDFList. cons(RDFNode value)
Return a reference to a new list cell whose head isvalue
and whose tail is this list.boolean
Container. contains(RDFNode o)
Determine whether the container contains a valueboolean
Model. contains(Resource s, Property p, RDFNode o)
Determine if an (S, P, O) pattern is present in this model, with null allowed to represent a wildcard match.boolean
RDFList. contains(RDFNode value)
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.RDFList
Model. createList(RDFNode... members)
Answer a new list containing the nodes from the given eleemnts, in order.Statement
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.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
RDFList. indexOf(RDFNode value)
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
RDFList. indexOf(RDFNode value, int start)
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
Seq. indexOf(RDFNode o)
Return the index of a given member of the sequence.ResIterator
Model. listResourcesWithProperty(Property p, RDFNode o)
Answer an iterator [with no duplicates] over all the resources in this model that have propertyp
with valueo
.StmtIterator
InfModel. listStatements(Resource subject, Property predicate, RDFNode object, Model posit)
Find all the statements matching a pattern.StmtIterator
Model. listStatements(Resource s, Property p, RDFNode o)
Find all the statements matching a pattern.ResIterator
Model. listSubjectsWithProperty(Property p, RDFNode o)
An alias forlistResourcesWithProperty
, retained for backward compatibility.java.lang.Object
RDFList.ReduceFn. reduce(RDFNode node, java.lang.Object accumulator)
Apply a function to the given RDF node.Model
ModelCon. remove(Resource s, Property p, RDFNode o)
remove the statement(s, p, o)
from this model and answer this model.RDFList
RDFList. remove(RDFNode val)
Remove the given value from this list.Model
Model. removeAll(Resource s, Property p, RDFNode r)
Remove all the statements matching (s, p, o) from this model.RDFNode
RDFList. replace(int i, RDFNode value)
Replace the value at the i'th position in the list with the given value.Seq
Seq. set(int index, RDFNode o)
Set the value at a given index in the sequence.Alt
Alt. setDefault(RDFNode o)
Set the default value of this container.RDFNode
RDFList. setHead(RDFNode value)
Update the head of the list to have the given value, and return the previous value.RDFList
RDFList. with(RDFNode 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 RDFNode Modifier and Type Method Description RDFList
RDFList. append(java.util.Iterator<? extends RDFNode> nodes)
Answer 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(java.util.Iterator<? extends RDFNode> nodes)
Add the nodes returned by the given iterator to the end of this list.RDFList
Model. createList(java.util.Iterator<? extends RDFNode> members)
Answer a new list containing the resources from the given iterator, in order.<T> ExtendedIterator<T>
RDFList. mapWith(java.util.function.Function<RDFNode,T> fn)
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 RDFNode Constructor Description LiteralRequiredException(RDFNode n)
ResourceRequiredException(RDFNode n)
SimpleSelector(Resource subject, Property predicate, RDFNode object)
Create a selector. -
Uses of RDFNode in org.apache.jena.rdf.model.impl
Classes in org.apache.jena.rdf.model.impl that implement RDFNode Modifier and Type Class Description class
AltImpl
An implementation of Alt.class
BagImpl
An implementation of Bagclass
ContainerImpl
An internal class not normally of interest to application developers.class
LiteralImpl
An implementation of Literal.class
PropertyImpl
An implementation of Property.class
RDFListImpl
Standard implementation the list abstraction from rdf.model.class
ReifiedStatementImpl
A ReifiedStatementImpl encodes a Statement and behaves as a Resource.class
ResourceImpl
An implementation of Resource.class
SeqImpl
An implementation of SeqMethods in org.apache.jena.rdf.model.impl that return RDFNode Modifier and Type Method Description RDFNode
ModelCom. asRDFNode(Node n)
static RDFNode
StatementImpl. createObject(Node n, EnhGraph g)
create an RDF node which might be a literal, or not.RDFNode
RDFListImpl. get(int i)
Answer the node that is the i'th element of the list, assuming that the head is item zero.RDFNode
AltImpl. getDefault()
RDFNode
RDFListImpl. getHead()
Answer the value that is at the head of the list.RDFNode
SeqImpl. getObject(int index)
abstract RDFNode
StatementBase. getObject()
RDFNode
StatementImpl. getObject()
RDFNode
ModelCom. getRDFNode(Node n)
RDFNode
ContNodeIteratorImpl. next()
RDFNode
SeqNodeIteratorImpl. next()
RDFNode
ContNodeIteratorImpl. nextNode()
RDFNode
NodeIteratorImpl. nextNode()
RDFNode
SeqNodeIteratorImpl. nextNode()
RDFNode
NTripleReader. readNode()
RDFNode
RDFListImpl. replace(int i, RDFNode value)
Replace the value at the i'th position in the list with the given value.RDFNode
RDFListImpl. setHead(RDFNode 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 RDFNode Modifier and Type Method Description java.util.List<RDFNode>
RDFListImpl. asJavaList()
Answer the contents of this RDF list as a Java list of RDFNode values.ExtendedIterator<RDFNode>
RDFListImpl. iterator()
Answer an iterator over the elements of the list.Methods in org.apache.jena.rdf.model.impl with parameters of type RDFNode Modifier and Type Method Description Container
ContainerImpl. add(RDFNode n)
Model
ModelCom. add(Resource s, Property p, RDFNode o)
void
RDFListImpl. add(RDFNode value)
Add the given value to the end of the list.Seq
SeqImpl. add(int index, RDFNode o)
Resource
ResourceImpl. addProperty(Property p, RDFNode o)
static Node
ModelCom. asNode(RDFNode x)
Statement
StatementBase. changeObject(RDFNode o)
RDFList
RDFListImpl. cons(RDFNode value)
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
ContainerImpl. contains(RDFNode n)
boolean
ModelCom. contains(Resource s, Property p, RDFNode o)
boolean
RDFListImpl. contains(RDFNode value)
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)
RDFList
ModelCom. createList(RDFNode... members)
Answer a new list containing the RDF nodes from the given array, in orderStatement
ModelCom. 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
RDFListImpl. indexOf(RDFNode value)
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
RDFListImpl. indexOf(RDFNode value, int start)
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
SeqImpl. indexOf(RDFNode o)
ResIterator
ModelCom. listResourcesWithProperty(Property p, RDFNode o)
StmtIterator
InfModelImpl. listStatements(Resource subject, Property predicate, RDFNode object, Model posit)
Find all the statements matching a pattern.StmtIterator
ModelCom. listStatements(Resource S, Property P, RDFNode O)
ResIterator
ModelCom. listSubjectsWithProperty(Property p, RDFNode o)
Resource
RDFListImpl. newListCell(RDFNode value, Resource tail)
Construct a new list cell with the given value and tail.void
ModelReifier. noteIfReified(RDFNode s, RDFNode p, RDFNode o)
the triple (s, p, o) has been asserted into the model.Container
ContainerImpl. remove(int index, RDFNode object)
Model
ModelCom. remove(Resource s, Property p, RDFNode o)
RDFList
RDFListImpl. remove(RDFNode val)
Remove the given value from this list.Container
SeqImpl. remove(int index, RDFNode o)
Model
ModelCom. removeAll(Resource s, Property p, RDFNode o)
RDFNode
RDFListImpl. replace(int i, RDFNode value)
Replace the value at the i'th position in the list with the given value.Seq
SeqImpl. set(int index, RDFNode o)
Alt
AltImpl. setDefault(RDFNode o)
RDFNode
RDFListImpl. setHead(RDFNode value)
Update the head of the list to have the given value, and return the previous value.RDFList
RDFListImpl. with(RDFNode 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 RDFNode Modifier and Type Method Description RDFList
RDFListImpl. append(java.util.Iterator<? extends RDFNode> nodes)
Answer 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(java.util.Iterator<? extends RDFNode> nodes)
Add the nodes returned by the given iterator to the end of this list.RDFList
ModelCom. createList(java.util.Iterator<? extends RDFNode> members)
Answer a new list containing the resources from the given iterator, in order.<T> ExtendedIterator<T>
RDFListImpl. mapWith(java.util.function.Function<RDFNode,T> fn)
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 RDFNode Constructor Description SelectorImpl(Resource subject, Property predicate, RDFNode object)
Create a selector.StatementImpl(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 RDFNode Constructor Description ModelCom(Graph base, Personality<RDFNode> personality)
NodeIteratorImpl(java.util.Iterator<? extends RDFNode> iter, java.lang.Object object)
Creates new NodeIteratorImpl -
Uses of RDFNode in org.apache.jena.util
Methods in org.apache.jena.util with parameters of type RDFNode Modifier and Type Method Description static java.lang.String
PrintUtil. print(RDFNode node)
Return a simplified print string for an RDFNode.
-