protected int idsUsedCount = 0;
public XMLHandler() {}
public void triple(ANode s, ANode p, ANode o) {
StatementHandler stmt;
boolean bad=s.isTainted() || p.isTainted() || o.isTainted();
if (bad) {
stmt = badStatementHandler;
} else {
stmt = handlers.getStatementHandler();
}
AResourceInternal subj = (AResourceInternal) s;
AResourceInternal pred = (AResourceInternal) p;
if (!bad)
subj.setHasBeenUsed();
if (o instanceof AResource) {
AResourceInternal obj = (AResourceInternal) o;
if (!bad) obj.setHasBeenUsed();
stmt.statement(subj, pred, obj);
} else
stmt.statement(subj, pred, (ALiteral) o);
}