Exemplo 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);
 }
Exemplo 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();
 }