@Test public void testCreateQNameResource() { QNameResource res = NodeFactory.createQNameResource("http: "uri"); assertNotNull(res); assertFalse(res.isLiteral()); assertFalse(res.isBlank()); assertTrue(res.isResource()); assertEquals("http: assertEquals("uri", res.getLocalName()); assertEquals(res.getClass(), QNameResourceImpl.class); }
public static QNameResource createQNameResource(String namespace, String localName) { return new QNameResourceImpl(namespace, localName); }
NodeFactory { public static QNameResource createQNameResource(String namespace, String localName) { return new QNameResourceImpl(namespace, localName); } }
NodeFactory { public static QNameResource createQNameResource(String namespace, String localName) { return new QNameResourceImpl(namespace, localName); } private  NodeFactory(); }
NodeFactory { public static QNameResource createQNameResource(String namespace, String localName) { return new QNameResourceImpl(namespace, localName); } 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 QNameResource createQNameResource(String namespace, String localName) { return new QNameResourceImpl(namespace, localName); } 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);  }