Esempio n. 1
0
 /**
  * create a new resource.
  *
  * <p>Uses the current factory object to create a new resource.
  *
  * @param uriref URIREF of the resource
  * @return a new resource
  */
 public static Resource createResource(String uriref) {
   return instance.createResource(uriref);
 }
Esempio n. 2
0
 /**
  * create a new anonymous resource.
  *
  * <p>Uses the current factory object to create a new anonymous resource.
  *
  * @return a new anonymous resource
  */
 public static Resource createResource() {
   return instance.createResource();
 }