private void getAllBNodesForNode1(Node node, Graph graph, Set<BlankNode> bSet) throws GraphException {
Set<Triple> set = setFactory.createSet(Triple.class);
addTriplesToSetForSubject(graph, set, node);
addTriplesToSetForObject(graph, set, node);
for (Triple triple : set) {
final SubjectNode sNode = triple.getSubject();
addBlankNodeToSet(graph, bSet, sNode);
final ObjectNode oNode = triple.getObject();
addBlankNodeToSet(graph, bSet, oNode);
}
set.clear();