|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mulgara.mrg.AbstractGraphExt
public abstract class AbstractGraphExt
This class groups all the overloaded methods for Graph together, and keeps them
out of the way of the Graph implementation. Each method simply wraps its
parameters appropriately and passes them on to the main method.
Wherever a URI appears, this will be converted to a Uri reference.
If a String is used in place of a SubjectNode or PredicateNode, then it will
also be converted to a Uri, and hence is subject to a URI syntax check.
If a String is used in place of an ObjectNode, then it will converted to an
untyped literal instead. Therefore, if you need a URI in the object position,
you will need to create either a URI or a Uri, since a string
in this position will always be converted to a literal.
The graph explicitly implements GraphExt, since these are the only methods that
it will implement. However, this declaration was not required, since all
Graphs are also GraphExts.
| Field Summary |
|---|
| Fields inherited from interface org.mulgara.mrg.Graph |
|---|
X |
| Constructor Summary | |
|---|---|
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(PredicateNode s,
URI p)
|
List<SubjectNode> |
getSubjects(String s,
ObjectNode p)
Gets all the subjects that share a given property/value. |
List<SubjectNode> |
getSubjects(String s,
String p)
Gets all the subjects that share a given property/value. |
List<SubjectNode> |
getSubjects(String s,
URI p)
Gets all the subjects that share a given property/value. |
List<SubjectNode> |
getSubjects(URI s,
ObjectNode p)
Gets all the subjects that share a given property/value. |
List<SubjectNode> |
getSubjects(URI s,
String p)
Gets all the subjects that share a given property/value. |
List<SubjectNode> |
getSubjects(URI s,
URI p)
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mulgara.mrg.Graph |
|---|
doesResourceExist, exportN3, exportN3, exportXML, exportXML, getObjects, getPredicates, getProperties, getRdfList, getSubjects, getSubjects, getTriples, getValue, getValues, isAsserted, isAsserted, isEmpty, match, matchSubgraph, size |
| Constructor Detail |
|---|
public AbstractGraphExt()
| Method Detail |
|---|
public boolean isAsserted(URI s,
PredicateNode p,
ObjectNode o)
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(SubjectNode s,
URI p,
ObjectNode o)
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(SubjectNode s,
PredicateNode p,
URI o)
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(URI s,
URI p,
ObjectNode o)
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(URI s,
PredicateNode p,
URI o)
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(SubjectNode s,
URI p,
URI o)
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(URI s,
URI p,
URI o)
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(String s,
PredicateNode p,
ObjectNode o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(SubjectNode s,
String p,
ObjectNode o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(SubjectNode s,
PredicateNode p,
String o)
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(String s,
String p,
ObjectNode o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(String s,
PredicateNode p,
String o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(SubjectNode s,
String p,
String o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(String s,
String p,
String o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(String s,
URI p,
ObjectNode o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(String s,
PredicateNode p,
URI o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(String s,
URI p,
URI o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(URI s,
String p,
ObjectNode o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(SubjectNode s,
String p,
URI o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(URI s,
String p,
URI o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(URI s,
PredicateNode p,
String o)
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(SubjectNode s,
URI p,
String o)
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(URI s,
URI p,
String o)
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(String s,
String p,
URI o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(String s,
URI p,
String o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.
public boolean isAsserted(URI s,
String p,
String o)
throws URISyntaxException
GraphExt
isAsserted in interface GraphExts - 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.public List<PropertyValue> getProperties(URI s)
GraphExt
getProperties in interface GraphExts - The subject as a URI.
public List<PropertyValue> getProperties(String s)
throws URISyntaxException
GraphExt
getProperties in interface GraphExts - The subject as a string.
URISyntaxException
public List<ObjectNode> getValues(SubjectNode s,
URI p)
GraphExt
getValues in interface GraphExts - The subject to get the properties for.p - The property of interest, as a URI.
public List<ObjectNode> getValues(URI s,
PredicateNode p)
GraphExt
getValues in interface GraphExts - The subject to get the properties for, as a URI.p - The property of interest.
public List<ObjectNode> getValues(URI s,
URI p)
GraphExt
getValues in interface GraphExts - The subject to get the properties for, as a URI.p - The property of interest, as a URI.
public List<ObjectNode> getValues(SubjectNode s,
String p)
throws URISyntaxException
GraphExt
getValues in interface GraphExts - The subject to get the properties for.p - The property of interest, as a string.
URISyntaxException
public List<ObjectNode> getValues(String s,
PredicateNode p)
throws URISyntaxException
GraphExt
getValues in interface GraphExts - The subject to get the properties for, as a string.p - The property of interest.
URISyntaxException
public List<ObjectNode> getValues(URI s,
String p)
throws URISyntaxException
GraphExt
getValues in interface GraphExts - The subject to get the properties for, as a URI.p - The property of interest, as a string.
URISyntaxException
public List<ObjectNode> getValues(String s,
URI p)
throws URISyntaxException
GraphExt
getValues in interface GraphExts - The subject to get the properties for, as a string.p - The property of interest, as a URI.
URISyntaxException
public List<ObjectNode> getValues(String s,
String p)
throws URISyntaxException
GraphExt
getValues in interface GraphExts - The subject to get the properties for, as a string.p - The property of interest, as a string.
URISyntaxException
public ObjectNode getValue(SubjectNode s,
URI p)
GraphExt
getValue in interface GraphExts - The subject to get the properties for.p - The property of interest, as a URI.
public ObjectNode getValue(URI s,
PredicateNode p)
GraphExt
getValue in interface GraphExts - The subject to get the properties for, as a URI.p - The property of interest.
public ObjectNode getValue(URI s,
URI p)
GraphExt
getValue in interface GraphExts - The subject to get the properties for, as a URI.p - The property of interest, as a URI.
public ObjectNode getValue(SubjectNode s,
String p)
throws URISyntaxException
GraphExt
getValue in interface GraphExts - The subject to get the properties for.p - The property of interest, as a string.
URISyntaxException
public ObjectNode getValue(String s,
PredicateNode p)
throws URISyntaxException
GraphExt
getValue in interface GraphExts - The subject to get the properties for, as a string.p - The property of interest.
URISyntaxException
public ObjectNode getValue(URI s,
String p)
throws URISyntaxException
GraphExt
getValue in interface GraphExts - The subject to get the properties for, as a URI.p - The property of interest, as a string.
URISyntaxException
public ObjectNode getValue(String s,
URI p)
throws URISyntaxException
GraphExt
getValue in interface GraphExts - The subject to get the properties for, as a string.p - The property of interest, as a URI.
URISyntaxException
public ObjectNode getValue(String s,
String p)
throws URISyntaxException
GraphExt
getValue in interface GraphExts - The subject to get the properties for, as a string.p - The property of interest, as a string.
URISyntaxException
public List<ObjectNode> getRdfList(SubjectNode s,
URI p)
GraphExt
getRdfList in interface GraphExts - The subject to get the property for.p - The property of interest, as a URI.
public List<ObjectNode> getRdfList(URI s,
PredicateNode p)
GraphExt
getRdfList in interface GraphExts - The subject to get the property for, as a URI.p - The property of interest.
public List<ObjectNode> getRdfList(URI s,
URI p)
GraphExt
getRdfList in interface GraphExts - The subject to get the property for, as a URI.p - The property of interest, as a URI.
public List<ObjectNode> getRdfList(SubjectNode s,
String p)
throws URISyntaxException
GraphExt
getRdfList in interface GraphExts - The subject to get the property for.p - The property of interest, as a string.
URISyntaxException
public List<ObjectNode> getRdfList(String s,
PredicateNode p)
throws URISyntaxException
GraphExt
getRdfList in interface GraphExts - The subject to get the property for, as a string.p - The property of interest.
URISyntaxException
public List<ObjectNode> getRdfList(URI s,
String p)
throws URISyntaxException
GraphExt
getRdfList in interface GraphExts - The subject to get the property for, as URI.p - The property of interest, as a string.
URISyntaxException
public List<ObjectNode> getRdfList(String s,
URI p)
throws URISyntaxException
GraphExt
getRdfList in interface GraphExts - The subject to get the property for, as a string.p - The property of interest, as a URI.
URISyntaxException
public List<ObjectNode> getRdfList(String s,
String p)
throws URISyntaxException
GraphExt
getRdfList in interface GraphExts - The subject to get the property for, as a string.p - The property of interest, as a string.
URISyntaxException
public List<SubjectNode> getSubjects(PredicateNode s,
URI p)
public List<SubjectNode> getSubjects(PredicateNode property,
String value)
GraphExt
getSubjects in interface GraphExtproperty - The property being looked for.value - The literal value being looked for.
public List<SubjectNode> getSubjects(URI s,
ObjectNode p)
GraphExt
getSubjects in interface GraphExts - The property being looked for, as a URI.p - The value being looked for.
public List<SubjectNode> getSubjects(URI s,
URI p)
GraphExt
getSubjects in interface GraphExts - The property being looked for, as a URI.p - The value being looked for, as a URI.
public List<SubjectNode> getSubjects(URI s,
String p)
GraphExt
getSubjects in interface GraphExts - The property being looked for, as a URI.p - The literal value being looked for.
public List<SubjectNode> getSubjects(String s,
ObjectNode p)
throws URISyntaxException
GraphExt
getSubjects in interface GraphExts - The property being looked for, as a string.p - The value being looked for.
URISyntaxException
public List<SubjectNode> getSubjects(String s,
URI p)
throws URISyntaxException
GraphExt
getSubjects in interface GraphExts - The property being looked for, as a string.p - The value being looked for, as a URI.
URISyntaxException
public List<SubjectNode> getSubjects(String s,
String p)
throws URISyntaxException
GraphExt
getSubjects in interface GraphExts - The property being looked for, as a string.p - The literal value being looked for.
URISyntaxExceptionpublic boolean doesResourceExist(URI r)
GraphExt
doesResourceExist in interface GraphExtr - The resource to test.
true only if the resource is used somewhere in the graph.public boolean doesResourceExist(String r)
GraphExt
doesResourceExist in interface GraphExtr - The string form of the literal resource to test.
true only if the resource is used somewhere in the graph.
public Iterator<Triple> matchX(URI s,
PredicateNode p,
ObjectNode o)
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(SubjectNode s,
URI p,
ObjectNode o)
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(SubjectNode s,
PredicateNode p,
URI o)
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(URI s,
URI p,
ObjectNode o)
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(URI s,
PredicateNode p,
URI o)
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(SubjectNode s,
URI p,
URI o)
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(URI s,
URI p,
URI o)
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(String s,
PredicateNode p,
ObjectNode o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(SubjectNode s,
String p,
ObjectNode o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(SubjectNode s,
PredicateNode p,
String o)
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(String s,
String p,
ObjectNode o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(String s,
PredicateNode p,
String o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(SubjectNode s,
String p,
String o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(String s,
String p,
String o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(String s,
URI p,
ObjectNode o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(String s,
PredicateNode p,
URI o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(String s,
URI p,
URI o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(URI s,
String p,
ObjectNode o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(SubjectNode s,
String p,
URI o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(URI s,
String p,
URI o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(URI s,
PredicateNode p,
String o)
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(SubjectNode s,
URI p,
String o)
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(URI s,
URI p,
String o)
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(String s,
String p,
URI o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(String s,
URI p,
String o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Iterator<Triple> matchX(URI s,
String p,
String o)
throws URISyntaxException
GraphExtConcurrentModificationException if the graph is modified.
Use null cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchX in interface GraphExts - 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.
public Graph matchSubgraphX(URI s,
PredicateNode p,
ObjectNode o)
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(SubjectNode s,
URI p,
ObjectNode o)
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(SubjectNode s,
PredicateNode p,
URI o)
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(URI s,
URI p,
ObjectNode o)
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(URI s,
PredicateNode p,
URI o)
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(SubjectNode s,
URI p,
URI o)
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(URI s,
URI p,
URI o)
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(String s,
PredicateNode p,
ObjectNode o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(SubjectNode s,
String p,
ObjectNode o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(SubjectNode s,
PredicateNode p,
String o)
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(String s,
String p,
ObjectNode o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(String s,
PredicateNode p,
String o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(SubjectNode s,
String p,
String o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(String s,
String p,
String o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(String s,
URI p,
ObjectNode o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(String s,
PredicateNode p,
URI o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(String s,
URI p,
URI o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(URI s,
String p,
ObjectNode o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(SubjectNode s,
String p,
URI o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(URI s,
String p,
URI o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(URI s,
PredicateNode p,
String o)
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(SubjectNode s,
URI p,
String o)
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(URI s,
URI p,
String o)
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(String s,
String p,
URI o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(String s,
URI p,
String o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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.
public Graph matchSubgraphX(URI s,
String p,
String o)
throws URISyntaxException
GraphExtnull cast to the appropriate type for wildcards, to avoid ambiguity on the parameters.
matchSubgraphX in interface GraphExts - 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 | |||||||||