|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topbraid.spin.util.SPLUtil
public class SPLUtil
Utilities related to the spl namespace.
| Constructor Summary | |
|---|---|
SPLUtil()
|
|
| Method Summary | |
|---|---|
static java.util.Map<Property,RDFNode> |
getDefaultValues(Resource subject)
Creates a Map from Properties to RDFNodes based on declared spl:InferDefaultValues. |
static RDFNode |
getObject(Resource subject,
Property predicate)
Same as getObject(subject, predicate, false). |
static RDFNode |
getObject(Resource subject,
Property predicate,
boolean includeSubProperties)
Gets the (first) value of a subject/predicate combination. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SPLUtil()
| Method Detail |
|---|
public static java.util.Map<Property,RDFNode> getDefaultValues(Resource subject)
subject -
public static RDFNode getObject(Resource subject,
Property predicate)
getObject(subject, predicate, false).
getObject(Resource, Property, boolean)
public static RDFNode getObject(Resource subject,
Property predicate,
boolean includeSubProperties)
subject - the subject to get the object ofpredicate - the predicateincludeSubProperties - true to also check for sub-properties of predicate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||