Examples of covers()


Examples of org.apache.jackrabbit.vault.fs.config.DefaultWorkspaceFilter.covers()

        assertFalse(filter.contains("/tmp/foo/bar"));
        assertFalse(filter.contains("/"));
        assertFalse(filter.contains("/bar"));

        assertTrue(filter.covers("/foo"));
        assertTrue(filter.covers("/tmp"));
        assertTrue(filter.covers("/tmp/foo"));
    }

    @Test
    public void testMapping1() {
View Full Code Here

Examples of org.apache.jackrabbit.vault.fs.config.DefaultWorkspaceFilter.covers()

        assertFalse(filter.contains("/"));
        assertFalse(filter.contains("/bar"));

        assertTrue(filter.covers("/foo"));
        assertTrue(filter.covers("/tmp"));
        assertTrue(filter.covers("/tmp/foo"));
    }

    @Test
    public void testMapping1() {
        DefaultWorkspaceFilter filter = new DefaultWorkspaceFilter();
View Full Code Here

Examples of org.apache.sling.ide.transport.ResourceProxy.covers()

                    IOUtils.closeQuietly(contents);
                }

                String repositoryPath = serializationManager.getRepositoryPath(resourceLocation);
                String potentialPath = serializationData.getPath();
                boolean covered = serializationData.covers(repositoryPath);

                logger.trace(
                        "Found possible serialization data at {0}. Resource :{1} ; our resource: {2}. Covered: {3}",
                        parentSerializationFilePath, potentialPath, repositoryPath, covered);
                // note what we don't need to normalize the children here since this resource's data is covered by
View Full Code Here

Examples of org.geotools.geometry.jts.ReferencedEnvelope.covers()

    ReferencedEnvelope bbox_e = new ReferencedEnvelope(minx, maxx, miny,
        maxy, crs);
    Envelope crsEnvelope = CRS.getEnvelope(crs);
    if (crsEnvelope != null) {
      ReferencedEnvelope crs_e = new ReferencedEnvelope(CRS.getEnvelope(crs));
      if (!crs_e.covers(bbox_e)) {
        // The specification says: If the Bounding Box values are
        // not defined for the given CRS (e.g., latitudes greater than 90
        // degrees in CRS:84), the
        // server should return empty content for areas outside the valid
        // range of the CRS.
View Full Code Here

Examples of org.geotools.geometry.jts.ReferencedEnvelope.covers()

                            limitBox = new ReferencedEnvelope(limitBox.intersection(box), dataCrs);                       
                        }
                    }
                }               
               
                if (!limitBox.covers(ReferencedEnvelope.EVERYTHING) && (boundingBox==null || !limitBox.contains(boundingBox))) {
                    throw new ServiceException("Access denied to bounding box on layer " + layerName, "AccessDenied");
                }
            }
           
        }
View Full Code Here

Examples of org.geowebcache.grid.GridSubset.covers()

                resource = getImageBuffer(WMS_BUFFER);
                encode = store;
            }

            if (encode) {
                if (!gridSubset.covers(gridPos)) {
                    // edge tile outside coverage, do not store it
                    continue;
                }

                try {
View Full Code Here

Examples of org.geowebcache.grid.GridSubset.covers()

                resource = getImageBuffer(WMS_BUFFER);
                encode = store;
            }

            if (encode) {
                if (!gridSubset.covers(gridPos)) {
                    // edge tile outside coverage, do not store it
                    continue;
                }

                try {
View Full Code Here

Examples of sun.awt.geom.Crossings.covers()

  if (npoints <= 0 || !getBoundingBox().intersects(x, y, w, h)) {
      return false;
  }

  Crossings cross = getCrossings(x, y, x+w, y+h);
  return (cross != null && cross.covers(y, y+h));
    }

    /**
     * {@inheritDoc}
     * @since 1.2
View Full Code Here

Examples of sun.awt.geom.Crossings.covers()

  }
  if (!getCachedBounds().contains(x, y, w, h)) {
      return false;
  }
  Crossings c = Crossings.findCrossings(curves, x, y, x+w, y+h);
  return (c != null && c.covers(y, y+h));
    }

    /**
     * {@inheritDoc}
     * @since 1.2
View Full Code Here

Examples of sun.awt.geom.Crossings.covers()

        if (npoints <= 0 || !getBoundingBox().intersects(x, y, w, h)) {
            return false;
        }

        Crossings cross = getCrossings(x, y, x+w, y+h);
        return (cross != null && cross.covers(y, y+h));
    }

    /**
     * {@inheritDoc}
     * @since 1.2
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.