Examples of extend()


Examples of org.olat.core.extensions.hibernate.HibernateConfigurator.extend()

            int cnt = extm.getExtensionCnt();
            for (int i = 0; i < cnt; i++) {
              Extension anExt = extm.getExtension(i);
              HibernateConfigurator hibconfigure = (HibernateConfigurator) anExt.getExtensionFor(extensionPoint.getName());
              if (hibconfigure != null) {
                hibconfigure.extend(cfg);
                extm.inform(extensionPoint, anExt, "added hibernate configuration");
              }
            }

            // set audit interceptor that traces lastChanged
View Full Code Here

Examples of org.openengsb.labs.paxexam.karaf.container.internal.KarafPropertiesFile.extend()

    @Override
    public void adaptDistributionToStartExam(File karafHome, File featuresXmlFile) throws IOException {
        KarafPropertiesFile karafPropertiesFile = new KarafPropertiesFile(karafHome, Constants.FEATURES_CFG_LOCATION);
        karafPropertiesFile.load();
        String finalFilePath = ",file:" + featuresXmlFile.toString().replaceAll("\\\\", "/").replaceAll(" ", "%20");
        karafPropertiesFile.extend("featuresRepositories", finalFilePath);
        karafPropertiesFile.extend("featuresBoot", ",exam");
        karafPropertiesFile.store();
    }

    protected String getJunitVersion() {
View Full Code Here

Examples of org.openstreetmap.josm.data.Bounds.extend()

        if (ds != null) {
            Iterator<Bounds> it = ds.getDataSourceBounds().iterator();
            if (it.hasNext()) {
                Bounds b = new Bounds(it.next());
                while (it.hasNext()) {
                    b.extend(it.next());
                }
                appendBounds(b, object);
            }
        }
    }
View Full Code Here

Examples of org.opentripplanner.api.resource.CoordinateArrayListSequence.extend()

                            if (edge instanceof StreetEdge) {
                                LineString geometry = edge.getGeometry();

                                if (geometry != null) {
                                    if (coordinates.size() == 0) {
                                        coordinates.extend(geometry.getCoordinates());
                                    } else {
                                        coordinates.extend(geometry.getCoordinates(), 1);
                                    }
                                }
View Full Code Here

Examples of ra.Result.extend()

    @Override
    public Result execute() {
        Result inResult = getInputTerm().execute();
        SortingDescendingOperator oper = new SortingDescendingOperator(Utils.getCaf(), inResult.getResultRelation(), sortOverIndex);
        inResult.extend(oper);
        storeResult(inResult);
        return inResult;
    }
}
View Full Code Here

Examples of restful.insecurity.DigestExtender.extend()

  @GET
  public Response get(@QueryParam("md5") String md5, @QueryParam("d") String newData, @QueryParam("l") int length) {
    try {
      GeneralDigest digester = new MD5Digest();
      DigestExtender extender = new DigestExtender();
      byte[] newDigest = extender.extend(digester, Hex.decode(md5), newData.getBytes());
      Md5Hash hash = new Md5Hash();
      hash.newHash = new String(Hex.encode(newDigest));
      hash.pad = URLEncoder.encode(urlEncode(extender.getPad(digester, length)));
      return Response.ok().entity(hash).build();
    } catch(Exception ex) {
View Full Code Here

Examples of ucar.nc2.units.DateRange.extend()

        else
          bb.extend(pfc.getBoundingBox());
        if (dates == null)
          dates = pfc.getDateRange();
        else
          dates.extend(pfc.getDateRange());

      else if (fc instanceof StationTimeSeriesFeatureCollection) {

        StationTimeSeriesFeatureCollection sc = (StationTimeSeriesFeatureCollection) fc;
        if (bb == null)
View Full Code Here

Examples of ucar.nc2.units.DateRange.extend()

        PointFeatureCollection pfc = sc.flatten(null, null);
        pfc.calcBounds();
        if (dates == null)
          dates = pfc.getDateRange();
        else
          dates.extend(pfc.getDateRange());
      }

    }

    if (boundingBox == null) boundingBox = bb;
View Full Code Here

Examples of ucar.unidata.geoloc.LatLonRect.extend()

    LatLonRect rect = new LatLonRect(llpt, .001, .001);

    for (int i = 1; i < stnList.size(); i++) {
      s = (ucar.unidata.geoloc.Station) stnList.get(i);
      llpt.set(s.getLatitude(), s.getLongitude());
      rect.extend(llpt);
    }

    return rect;
  }
View Full Code Here

Examples of ucar.unidata.geoloc.LatLonRect.extend()

    LatLonRect rect = new LatLonRect(llpt, .001, .001);

    for (int i = 1; i < stnList.size(); i++) {
      s = (ucar.unidata.geoloc.Station) stnList.get(i);
      llpt.set(s.getLatitude(), s.getLongitude());
      rect.extend(llpt);
    }

    return rect;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.