|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GraphExt
This class defines all the overloaded methods for Graph.
The idea of overloading these methods is to avoid having to create
Uri references and literals for every trivial operation.
This class hiererachy is upside down, as the implementation of each
of the methods in this class will be defined in terms of the methods
found in Graph. However, this class is defined as a superclass
of Graph to ensure that all Graphs have these extensions defined.
The implementation of the methods in this interface are trivial wrappers
to the Graph methods that they overload. These implementations
can be found in AbstractGraphExt.
| Method Summary | |
|---|---|
boolean |
doesResourceExist(String r)
Tests if a resource exists anywhere in the graph, where the resource is string representing a literal. |
boolean |
doesResourceExist(URI r)
Tests if a resource exists anywhere in the graph, where the resource is a Uri reference. |
List<PropertyValue> |
getProperties(String s)
Gets all the properties for a given subject, with a string representing a URI as the subject. |
List<PropertyValue> |
getProperties(URI s)
Gets all the properties for a given subject, with a URI as the subject. |
List<ObjectNode> |
getRdfList(String s,
PredicateNode p)
Gets an rdf:List property from an object. |
List<ObjectNode> |
getRdfList(String s,
String p)
Gets an rdf:List property from an object. |
List<ObjectNode> |
getRdfList(String s,
URI p)
Gets an rdf:List property from an object. |
List<ObjectNode> |
getRdfList(SubjectNode s,
String p)
Gets an rdf:List property from an object. |
List<ObjectNode> |
getRdfList(SubjectNode s,
URI p)
Gets an rdf:List property from an object. |
List<ObjectNode> |
getRdfList(URI s,
PredicateNode p)
Gets an rdf:List property from an object. |
List<ObjectNode> |
getRdfList(URI s,
String p)
Gets an rdf:List property from an object. |
List<ObjectNode> |
getRdfList(URI s,
URI p)
Gets an rdf:List property from an object. |
List<SubjectNode> |
getSubjects(PredicateNode property,
String value)
Gets all the subjects that share a given property/value. |
List<SubjectNode> |
getSubjects(String property,
ObjectNode value)
Gets all the subjects that share a given property/value. |
List<SubjectNode> |
getSubjects(String property,
String value)
Gets all the subjects that share a given property/value. |
List<SubjectNode> |
getSubjects(String property,
URI value)
Gets all the subjects that share a given property/value. |
List<SubjectNode> |
getSubjects(URI property,
ObjectNode value)
Gets all the subjects that share a given property/value. |
List<SubjectNode> |
getSubjects(URI property,
String value)
Gets all the subjects that share a given property/value. |
List<SubjectNode> |
getSubjects(URI property,
URI value)
Gets all the subjects that share a given property/value. |
ObjectNode |
getValue(String s,
PredicateNode p)
Gets a single value for a given property on a subject. |
ObjectNode |
getValue(String s,
String p)
Gets a single value for a given property on a subject. |
ObjectNode |
getValue(String s,
URI p)
Gets a single value for a given property on a subject. |
ObjectNode |
getValue(SubjectNode s,
String p)
Gets a single value for a given property on a subject. |
ObjectNode |
getValue(SubjectNode s,
URI p)
Gets a single value for a given property on a subject. |
ObjectNode |
getValue(URI s,
PredicateNode p)
Gets a single value for a given property on a subject. |
ObjectNode |
getValue(URI s,
String p)
Gets a single value for a given property on a subject. |
ObjectNode |
getValue(URI s,
URI p)
Gets a single value for a given property on a subject. |
List<ObjectNode> |
getValues(String s,
PredicateNode p)
Gets all the values for a given property on a subject. |
List<ObjectNode> |
getValues(String s,
String p)
Gets all the values for a given property on a subject. |
List<ObjectNode> |
getValues(String s,
URI p)
Gets all the values for a given property on a subject. |
List<ObjectNode> |
getValues(SubjectNode s,
String p)
Gets all the values for a given property on a subject. |
List<ObjectNode> |
getValues(SubjectNode s,
URI p)
Gets all the values for a given property on a subject. |
List<ObjectNode> |
getValues(URI s,
PredicateNode p)
Gets all the values for a given property on a subject. |
List<ObjectNode> |
getValues(URI s,
String p)
Gets all the values for a given property on a subject. |
List<ObjectNode> |
getValues(URI s,
URI p)
Gets all the values for a given property on a subject. |
boolean |
isAsserted(String s,
PredicateNode p,
ObjectNode o)
Tests if a triple has been asserted. |
boolean |
isAsserted(String s,
PredicateNode p,
String o)
Tests if a triple has been asserted. |
boolean |
isAsserted(String s,
PredicateNode p,
URI o)
Tests if a triple has been asserted. |
boolean |
isAsserted(String s,
String p,
ObjectNode o)
Tests if a triple has been asserted. |
boolean |
isAsserted(String s,
String p,
String o)
Tests if a triple has been asserted. |
boolean |
isAsserted(String s,
String p,
URI o)
Tests if a triple has been asserted. |
boolean |
isAsserted(String s,
URI p,
ObjectNode o)
Tests if a triple has been asserted. |
boolean |
isAsserted(String s,
URI p,
String o)
Tests if a triple has been asserted. |
boolean |
isAsserted(String s,
URI p,
URI o)
Tests if a triple has been asserted. |
boolean |
isAsserted(SubjectNode s,
PredicateNode p,
String o)
Tests if a triple has been asserted. |
boolean |
isAsserted(SubjectNode s,
PredicateNode p,
URI o)
Tests if a triple has been asserted. |
boolean |
isAsserted(SubjectNode s,
String p,
ObjectNode o)
Tests if a triple has been asserted. |
boolean |
isAsserted(SubjectNode s,
String p,
String o)
Tests if a triple has been asserted. |
boolean |
isAsserted(SubjectNode s,
String p,
URI o)
Tests if a triple has been asserted. |
boolean |
isAsserted(SubjectNode s,
URI p,
ObjectNode o)
Tests if a triple has been asserted. |
boolean |
isAsserted(SubjectNode s,
URI p,
String o)
Tests if a triple has been asserted. |
boolean |
isAsserted(SubjectNode s,
URI p,
URI o)
Tests if a triple has been asserted. |
boolean |
isAsserted(URI s,
PredicateNode p,
ObjectNode o)
Tests if a triple has been asserted. |
boolean |
isAsserted(URI s,
PredicateNode p,
String o)
Tests if a triple has been asserted. |
boolean |
isAsserted(URI s,
PredicateNode p,
URI o)
Tests if a triple has been asserted. |
boolean |
isAsserted(URI s,
String p,
ObjectNode o)
Tests if a triple has been asserted. |
boolean |
isAsserted(URI s,
String p,
String o)
Tests if a triple has been asserted. |
boolean |
isAsserted(URI s,
String p,
URI o)
Tests if a triple has been asserted. |
boolean |
isAsserted(URI s,
URI p,
ObjectNode o)
Tests if a triple has been asserted. |
boolean |
isAsserted(URI s,
URI p,
String o)
Tests if a triple has been asserted. |
boolean |
isAsserted(URI s,
URI p,
URI o)
Tests if a triple has been asserted. |
Graph |
matchSubgraphX(String s,
PredicateNode p,
ObjectNode o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(String s,
PredicateNode p,
String o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(String s,
PredicateNode p,
URI o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(String s,
String p,
ObjectNode o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(String s,
String p,
String o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(String s,
String p,
URI o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(String s,
URI p,
ObjectNode o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(String s,
URI p,
String o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(String s,
URI p,
URI o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(SubjectNode s,
PredicateNode p,
String o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(SubjectNode s,
PredicateNode p,
URI o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(SubjectNode s,
String p,
ObjectNode o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(SubjectNode s,
String p,
String o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(SubjectNode s,
String p,
URI o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(SubjectNode s,
URI p,
ObjectNode o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(SubjectNode s,
URI p,
String o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(SubjectNode s,
URI p,
URI o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(URI s,
PredicateNode p,
ObjectNode o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(URI s,
PredicateNode p,
String o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(URI s,
PredicateNode p,
URI o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(URI s,
String p,
ObjectNode o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(URI s,
String p,
String o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(URI s,
String p,
URI o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(URI s,
URI p,
ObjectNode o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(URI s,
URI p,
String o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Graph |
matchSubgraphX(URI s,
URI p,
URI o)
Returns a subgraph of this graph that only contains the triples that match a given pattern. |
Iterator<Triple> |
matchX(String s,
PredicateNode p,
ObjectNode o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(String s,
PredicateNode p,
String o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(String s,
PredicateNode p,
URI o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(String s,
String p,
ObjectNode o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(String s,
String p,
String o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(String s,
String p,
URI o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(String s,
URI p,
ObjectNode o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(String s,
URI p,
String o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(String s,
URI p,
URI o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(SubjectNode s,
PredicateNode p,
String o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(SubjectNode s,
PredicateNode p,
URI o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(SubjectNode s,
String p,
ObjectNode o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(SubjectNode s,
String p,
String o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(SubjectNode s,
String p,
URI o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(SubjectNode s,
URI p,
ObjectNode o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(SubjectNode s,
URI p,
String o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(SubjectNode s,
URI p,
URI o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(URI s,
PredicateNode p,
ObjectNode o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(URI s,
PredicateNode p,
String o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(URI s,
PredicateNode p,
URI o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(URI s,
String p,
ObjectNode o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(URI s,
String p,
String o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(URI s,
String p,
URI o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(URI s,
URI p,
ObjectNode o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(URI s,
URI p,
String o)
Find all triples that match a given pattern. |
Iterator<Triple> |
matchX(URI s,
URI p,
URI o)
Find all triples that match a given pattern. |
| Method Detail |
|---|
boolean isAsserted(URI s,
PredicateNode p,
ObjectNode o)
s - The subject of the triple to search for, as a URI.p - The predicate of the triple to search for.o - The object of the triple to search for.
true only if the triple exists in the graph.
boolean isAsserted(SubjectNode s,
URI p,
ObjectNode o)
s - The subject of the triple to search for.p - The predicate of the triple to search for, as a URI.o - The object of the triple to search for.
true only if the triple exists in the graph.
boolean isAsserted(SubjectNode s,
PredicateNode p,
URI o)
s - The subject of the triple to search for.p - The predicate of the triple to search for.o - The object of the triple to search for, as a URI.
true only if the triple exists in the graph.
boolean isAsserted(URI s,
URI p,
ObjectNode o)
s - The subject of the triple to search for, as a URI.p - The predicate of the triple to search for, as a URI.o - The object of the triple to search for.
true only if the triple exists in the graph.
boolean isAsserted(URI s,
PredicateNode p,
URI o)
s - The subject of the triple to search for, as a URI.p - The predicate of the triple to search for.o - The object of the triple to search for, as a URI.
true only if the triple exists in the graph.
boolean isAsserted(SubjectNode s,
URI p,
URI o)
s - The subject of the triple to search for.p - The predicate of the triple to search for, as a URI.o - The object of the triple to search for, as a URI.
true only if the triple exists in the graph.
boolean isAsserted(URI s,
URI p,
URI o)
s - The subject of the triple to search for, as a URI.p - The predicate of the triple to search for, as a URI.o - The object of the triple to search for, as a URI.
true only if the triple exists in the graph.
boolean isAsserted(String s,
PredicateNode p,
ObjectNode o)
throws URISyntaxException
s - The subject of the triple to search for, as a String.p - The predicate of the triple to search for.o - The object of the triple to search for.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(SubjectNode s,
String p,
ObjectNode o)
throws URISyntaxException
s - The subject of the triple to search for.p - The predicate of the triple to search for, as a String.o - The object of the triple to search for.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(SubjectNode s,
PredicateNode p,
String o)
s - The subject of the triple to search for.p - The predicate of the triple to search for.o - The literal object of the triple to search for, as a String.
true only if the triple exists in the graph.
boolean isAsserted(String s,
String p,
ObjectNode o)
throws URISyntaxException
s - The subject of the triple to search for, as a String.p - The predicate of the triple to search for, as a String.o - The object of the triple to search for.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(String s,
PredicateNode p,
String o)
throws URISyntaxException
s - The subject of the triple to search for, as a String.p - The predicate of the triple to search for.o - The literal object of the triple to search for, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(SubjectNode s,
String p,
String o)
throws URISyntaxException
s - The subject of the triple to search for.p - The predicate of the triple to search for, as a String.o - The literal object of the triple to search for, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(String s,
String p,
String o)
throws URISyntaxException
s - The subject of the triple to search for, as a String.p - The predicate of the triple to search for, as a String.o - The literal object of the triple to search for, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(String s,
URI p,
ObjectNode o)
throws URISyntaxException
s - The subject of the triple to search for, as a String.p - The predicate of the triple to search for, as a URI.o - The object of the triple to search for.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(String s,
PredicateNode p,
URI o)
throws URISyntaxException
s - The subject of the triple to search for, as a String.p - The predicate of the triple to search for.o - The object of the triple to search for, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(String s,
URI p,
URI o)
throws URISyntaxException
s - The subject of the triple to search for, as a String.p - The predicate of the triple to search for, as a URI.o - The object of the triple to search for, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(URI s,
String p,
ObjectNode o)
throws URISyntaxException
s - The subject of the triple to search for, as a URI.p - The predicate of the triple to search for, as a String.o - The object of the triple to search for.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(SubjectNode s,
String p,
URI o)
throws URISyntaxException
s - The subject of the triple to search for.p - The predicate of the triple to search for, as a String.o - The object of the triple to search for, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(URI s,
String p,
URI o)
throws URISyntaxException
s - The subject of the triple to search for, as a URI.p - The predicate of the triple to search for, as a String.o - The object of the triple to search for, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(URI s,
PredicateNode p,
String o)
s - The subject of the triple to search for, as a URI.p - The predicate of the triple to search for.o - The literal object of the triple to search for, as a String.
true only if the triple exists in the graph.
boolean isAsserted(SubjectNode s,
URI p,
String o)
s - The subject of the triple to search for.p - The predicate of the triple to search for, as a URI.o - The literal object of the triple to search for, as a String.
true only if the triple exists in the graph.
boolean isAsserted(URI s,
URI p,
String o)
s - The subject of the triple to search for, as a URI.p - The predicate of the triple to search for, as a URI.o - The literal object of the triple to search for, as a String.
true only if the triple exists in the graph.
boolean isAsserted(String s,
String p,
URI o)
throws URISyntaxException
s - The subject of the triple to search for, as a String.p - The predicate of the triple to search for, as a String.o - The object of the triple to search for, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(String s,
URI p,
String o)
throws URISyntaxException
s - The subject of the triple to search for, as a String.p - The predicate of the triple to search for, as a URI.o - The literal object of the triple to search for, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
boolean isAsserted(URI s,
String p,
String o)
throws URISyntaxException
s - The subject of the triple to search for, as a URI.p - The predicate of the triple to search for, as a String.o - The literal object of the triple to search for, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.boolean doesResourceExist(URI r)
r - The resource to test.
true only if the resource is used somewhere in the graph.boolean doesResourceExist(String r)
r - The string form of the literal resource to test.
true only if the resource is used somewhere in the graph.List<PropertyValue> getProperties(URI s)
s - The subject as a URI.
List<PropertyValue> getProperties(String s)
throws URISyntaxException
s - The subject as a string.
URISyntaxException
List<ObjectNode> getValues(SubjectNode s,
URI p)
s - The subject to get the properties for.p - The property of interest, as a URI.
List<ObjectNode> getValues(URI s,
PredicateNode p)
s - The subject to get the properties for, as a URI.p - The property of interest.
List<ObjectNode> getValues(URI s,
URI p)
s - The subject to get the properties for, as a URI.p - The property of interest, as a URI.
List<ObjectNode> getValues(SubjectNode s,
String p)
throws URISyntaxException
s - The subject to get the properties for.p - The property of interest, as a string.
URISyntaxException
List<ObjectNode> getValues(String s,
PredicateNode p)
throws URISyntaxException
s - The subject to get the properties for, as a string.p - The property of interest.
URISyntaxException
List<ObjectNode> getValues(String s,
String p)
throws URISyntaxException
s - The subject to get the properties for, as a string.p - The property of interest, as a string.
URISyntaxException
List<ObjectNode> getValues(URI s,
String p)
throws URISyntaxException
s - The subject to get the properties for, as a URI.p - The property of interest, as a string.
URISyntaxException
List<ObjectNode> getValues(String s,
URI p)
throws URISyntaxException
s - The subject to get the properties for, as a string.p - The property of interest, as a URI.
URISyntaxException
ObjectNode getValue(SubjectNode s,
URI p)
s - The subject to get the properties for.p - The property of interest, as a URI.
ObjectNode getValue(URI s,
PredicateNode p)
s - The subject to get the properties for, as a URI.p - The property of interest.
ObjectNode getValue(URI s,
URI p)
s - The subject to get the properties for, as a URI.p - The property of interest, as a URI.
ObjectNode getValue(SubjectNode s,
String p)
throws URISyntaxException
s - The subject to get the properties for.p - The property of interest, as a string.
URISyntaxException
ObjectNode getValue(String s,
PredicateNode p)
throws URISyntaxException
s - The subject to get the properties for, as a string.p - The property of interest.
URISyntaxException
ObjectNode getValue(String s,
String p)
throws URISyntaxException
s - The subject to get the properties for, as a string.p - The property of interest, as a string.
URISyntaxException
ObjectNode getValue(URI s,
String p)
throws URISyntaxException
s - The subject to get the properties for, as a URI.p - The property of interest, as a string.
URISyntaxException
ObjectNode getValue(String s,
URI p)
throws URISyntaxException
s - The subject to get the properties for, as a string.p - The property of interest, as a URI.
URISyntaxException
List<ObjectNode> getRdfList(URI s,
PredicateNode p)
s - The subject to get the property for, as a URI.p - The property of interest.
List<ObjectNode> getRdfList(String s,
PredicateNode p)
throws URISyntaxException
s - The subject to get the property for, as a string.p - The property of interest.
URISyntaxException
List<ObjectNode> getRdfList(SubjectNode s,
URI p)
s - The subject to get the property for.p - The property of interest, as a URI.
List<ObjectNode> getRdfList(URI s,
URI p)
s - The subject to get the property for, as a URI.p - The property of interest, as a URI.
List<ObjectNode> getRdfList(String s,
URI p)
throws URISyntaxException
s - The subject to get the property for, as a string.p - The property of interest, as a URI.
URISyntaxException
List<ObjectNode> getRdfList(SubjectNode s,
String p)
throws URISyntaxException
s - The subject to get the property for.p - The property of interest, as a string.
URISyntaxException
List<ObjectNode> getRdfList(URI s,
String p)
throws URISyntaxException
s - The subject to get the property for, as URI.p - The property of interest, as a string.
URISyntaxException
List<ObjectNode> getRdfList(String s,
String p)
throws URISyntaxException
s - The subject to get the property for, as a string.p - The property of interest, as a string.
URISyntaxException
List<SubjectNode> getSubjects(URI property,
ObjectNode value)
property - The property being looked for, as a URI.value - The value being looked for.
List<SubjectNode> getSubjects(String property,
ObjectNode value)
throws URISyntaxException
property - The property being looked for, as a string.value - The value being looked for.
URISyntaxException
List<SubjectNode> getSubjects(URI property,
URI value)
property - The property being looked for, as a URI.value - The value being looked for, as a URI.
List<SubjectNode> getSubjects(String property,
URI value)
throws URISyntaxException
property - The property being looked for, as a string.value - The value being looked for, as a URI.
URISyntaxException
List<SubjectNode> getSubjects(PredicateNode property,
String value)
property - The property being looked for.value - The literal value being looked for.
List<SubjectNode> getSubjects(URI property,
String value)
property - The property being looked for, as a URI.value - The literal value being looked for.
List<SubjectNode> getSubjects(String property,
String value)
throws URISyntaxException
property - The property being looked for, as a string.value - The literal value being looked for.
URISyntaxException
Iterator<Triple> matchX(URI s,
PredicateNode p,
ObjectNode o)
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triple to match.o - The object of the triple to match.
true only if the triple exists in the graph.
Iterator<Triple> matchX(SubjectNode s,
URI p,
ObjectNode o)
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triples to match, as a URI.o - The object of the triple to match.
true only if the triple exists in the graph.
Iterator<Triple> matchX(SubjectNode s,
PredicateNode p,
URI o)
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triple to match.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
Iterator<Triple> matchX(URI s,
URI p,
ObjectNode o)
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triples to match, as a URI.o - The object of the triple to match.
true only if the triple exists in the graph.
Iterator<Triple> matchX(URI s,
PredicateNode p,
URI o)
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triple to match.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
Iterator<Triple> matchX(SubjectNode s,
URI p,
URI o)
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triples to match, as a URI.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
Iterator<Triple> matchX(URI s,
URI p,
URI o)
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triples to match, as a URI.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
Iterator<Triple> matchX(String s,
PredicateNode p,
ObjectNode o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triple to match.o - The object of the triple to match.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(SubjectNode s,
String p,
ObjectNode o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triples to match, as a String.o - The object of the triple to match.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(SubjectNode s,
PredicateNode p,
String o)
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triple to match.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
Iterator<Triple> matchX(String s,
String p,
ObjectNode o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triples to match, as a String.o - The object of the triple to match.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(String s,
PredicateNode p,
String o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triple to match.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(SubjectNode s,
String p,
String o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triples to match, as a String.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(String s,
String p,
String o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triples to match, as a String.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(String s,
URI p,
ObjectNode o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triples to match, as a URI.o - The object of the triple to match.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(String s,
PredicateNode p,
URI o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triple to match.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(String s,
URI p,
URI o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triples to match, as a URI.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(URI s,
String p,
ObjectNode o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triples to match, as a String.o - The object of the triple to match.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(SubjectNode s,
String p,
URI o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triples to match, as a String.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(URI s,
String p,
URI o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triples to match, as a String.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(URI s,
PredicateNode p,
String o)
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triple to match.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
Iterator<Triple> matchX(SubjectNode s,
URI p,
String o)
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triples to match, as a URI.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
Iterator<Triple> matchX(URI s,
URI p,
String o)
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triples to match, as a URI.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
Iterator<Triple> matchX(String s,
String p,
URI o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triples to match, as a String.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(String s,
URI p,
String o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triples to match, as a URI.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Iterator<Triple> matchX(URI s,
String p,
String o)
throws URISyntaxException
ConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triples to match, as a String.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(URI s,
PredicateNode p,
ObjectNode o)
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triple to match.o - The object of the triple to match.
true only if the triple exists in the graph.
Graph matchSubgraphX(SubjectNode s,
URI p,
ObjectNode o)
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triples to match, as a URI.o - The object of the triple to match.
true only if the triple exists in the graph.
Graph matchSubgraphX(SubjectNode s,
PredicateNode p,
URI o)
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triple to match.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
Graph matchSubgraphX(URI s,
URI p,
ObjectNode o)
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triples to match, as a URI.o - The object of the triple to match.
true only if the triple exists in the graph.
Graph matchSubgraphX(URI s,
PredicateNode p,
URI o)
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triple to match.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
Graph matchSubgraphX(SubjectNode s,
URI p,
URI o)
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triples to match, as a URI.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
Graph matchSubgraphX(URI s,
URI p,
URI o)
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triples to match, as a URI.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
Graph matchSubgraphX(String s,
PredicateNode p,
ObjectNode o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triple to match.o - The object of the triple to match.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(SubjectNode s,
String p,
ObjectNode o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triples to match, as a String.o - The object of the triple to match.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(SubjectNode s,
PredicateNode p,
String o)
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triple to match.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
Graph matchSubgraphX(String s,
String p,
ObjectNode o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triples to match, as a String.o - The object of the triple to match.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(String s,
PredicateNode p,
String o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triple to match.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(SubjectNode s,
String p,
String o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triples to match, as a String.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(String s,
String p,
String o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triples to match, as a String.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(String s,
URI p,
ObjectNode o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triples to match, as a URI.o - The object of the triple to match.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(String s,
PredicateNode p,
URI o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triple to match.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(String s,
URI p,
URI o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triples to match, as a URI.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(URI s,
String p,
ObjectNode o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triples to match, as a String.o - The object of the triple to match.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(SubjectNode s,
String p,
URI o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triples to match, as a String.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(URI s,
String p,
URI o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triples to match, as a String.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(URI s,
PredicateNode p,
String o)
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triple to match.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
Graph matchSubgraphX(SubjectNode s,
URI p,
String o)
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triple to match.p - The predicate of the triples to match, as a URI.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
Graph matchSubgraphX(URI s,
URI p,
String o)
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triples to match, as a URI.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
Graph matchSubgraphX(String s,
String p,
URI o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triples to match, as a String.o - The object of the triples to match, as a URI.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(String s,
URI p,
String o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a String.p - The predicate of the triples to match, as a URI.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
Graph matchSubgraphX(URI s,
String p,
String o)
throws URISyntaxException
null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
s - The subject of the triples to match, as a URI.p - The predicate of the triples to match, as a String.o - The literal object of the triples to match, as a String.
true only if the triple exists in the graph.
URISyntaxException - if a string could not be converted to a Uri.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||