stSink = new Sink<Statement>() {
public void put(final Statement st) throws RippleException {
try {
handler.handleStatement(st);
} catch (RDFHandlerException e) {
throw new RippleException(e);
}
}
};
nsSink = new Sink<Namespace>() {
public void put(final Namespace ns) throws RippleException {
try {
handler.handleNamespace(ns.getPrefix(), ns.getName());
} catch (RDFHandlerException e) {
throw new RippleException(e);
}
}
};
cmtSink = new Sink<String>() {
public void put(final String comment) throws RippleException {
try {
handler.handleComment(comment);
} catch (RDFHandlerException e) {
throw new RippleException(e);
}
}
};
}