1 |
Tasks for fenfire generally |
Tasks for fenfire generally |
2 |
|
|
3 |
|
mudyc: |
4 |
|
- vital abstractions into an utility class: |
5 |
|
|
6 |
|
Selector selector = new SelectorImpl(note, PP.CoordX, empty); |
7 |
|
StmtIterator it = model.listStatements(selector); |
8 |
|
while (it.hasNext()) { |
9 |
|
Statement stmt = it.next(); |
10 |
|
p("deleting X: "+stmt); |
11 |
|
model.remove(stmt); |
12 |
|
} |
13 |
|
|
14 |
|
seems to occur pretty often. A static method |
15 |
|
|
16 |
|
removeAllTriples_SP_(RDFNode subject, RDFNode predicate) |
17 |
|
|
18 |
|
would shorten the PPActionsImpl code remarkably. |
19 |
|
|
20 |
|
Or maybe even better: simply the two methods |
21 |
|
|
22 |
|
void removeAll(Selector s) |
23 |
|
boolean hasAny(Selector s) |
24 |
|
|
25 |
|
would do a lot... |
26 |
|
|
27 |
|
|
28 |
Tjl |
Tjl |
29 |
- support for Alph |
- support for Alph |
30 |
- API for node <-> content enfilade |
- API for node <-> content enfilade |