@Test public void testCreateResource() { Resource res = NodeFactory.createResource("http: assertNotNull(res); assertFalse(res.isLiteral()); assertFalse(res.isBlank()); assertTrue(res.isResource()); assertEquals("http: }
public static Resource createResource(String uri) { return new ResourceImpl(uri); }
NodeFactory { public static Resource createResource(String uri) { return new ResourceImpl(uri); } }
NodeFactory { public static Resource createResource(String uri) { return new ResourceImpl(uri); } private  NodeFactory(); }
NodeFactory { public static Resource createResource(String uri) { return new ResourceImpl(uri); } 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 Resource createResource(String uri) { return new ResourceImpl(uri); } 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);  }