|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RDFRulesSelector
Selection functions for triples retrieval and WebLab model association.
Method Summary | |
---|---|
void |
addPORule(java.lang.String predicat,
java.lang.String object)
Add a filter on an association predicat/object |
void |
addSORule(java.lang.String subject,
java.lang.String object)
Add a filter on an association subject/object |
void |
addSPRule(java.lang.String subject,
java.lang.String predicat)
Add a filter on an association subject/predicat |
java.util.List<WTriple> |
findIn(org.weblab_project.core.model.Resource resource)
Find Triplets Subject, Predicate, Object) in the resource according to the rules already set in the Selector. |
void |
limitToFirstLevelAnnotation(boolean limit)
If limit is true, then all the searches made with this RDFSelector will stop after the first level of annotation. |
Method Detail |
---|
java.util.List<WTriple> findIn(org.weblab_project.core.model.Resource resource)
resource
- a resource
void addSPRule(java.lang.String subject, java.lang.String predicat)
subject
- predicat
- void addSORule(java.lang.String subject, java.lang.String object)
subject
- object
- void addPORule(java.lang.String predicat, java.lang.String object)
predicat
- object
- void limitToFirstLevelAnnotation(boolean limit)
limit
- if true, it will only search annotation on resource else it will search until the leaf annotations
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |