@Test public void testCreateBlankWithId() { BlankImpl blank = NodeFactory.createBlank("myId"); assertNotNull(blank); assertFalse(blank.isLiteral()); assertTrue(blank.isBlank()); assertFalse(blank.isResource()); assertEquals("myId", blank.getId()); }
public static BlankImpl createBlank() { return new BlankImpl(); }
NodeFactory { public static BlankImpl createBlank() { return new BlankImpl(); } }
NodeFactory { public static BlankImpl createBlank() { return new BlankImpl(); } private  NodeFactory(); }
NodeFactory { public static BlankImpl createBlank() { return new BlankImpl(); } private  NodeFactory(); static LiteralImpl createLiteral(String value); static LiteralImpl createLiteral(String value, String language); static LiteralImpl createTypedLiteral(String value, String type); static BlankImpl createBlank(); static BlankImpl createBlank(String id); static Resource createResource(String uri); static QNameResource createQNameResource(String namespace,
            String localName); }
NodeFactory { public static BlankImpl createBlank() { return new BlankImpl(); } private  NodeFactory(); static LiteralImpl createLiteral(String value); static LiteralImpl createLiteral(String value, String language); static LiteralImpl createTypedLiteral(String value, String type); static BlankImpl createBlank(); static BlankImpl createBlank(String id); static Resource createResource(String uri); static QNameResource createQNameResource(String namespace,
            String localName);  }