예제 #1
0
 public OnLineResource getOnlineResource() {
   if (online == null) {
     OnLineResourceImpl impl = new OnLineResourceImpl();
     try {
       impl.setLinkage(new URI(uri));
     } catch (URISyntaxException e) {
       throw new IllegalArgumentException(e);
     }
     online = impl;
   }
   return online;
 }