Examples of accept()


Examples of org.geotools.styling.Symbol.accept()

        if (gr.getSymbols() != null) {
            Symbol[] symbols = gr.getSymbols();

            for (int i = 0; i < symbols.length; i++) {
                Symbol symbol = symbols[i];
                symbol.accept(this);
            }
        }

        handleOpacity(gr.getOpacity());
    }
View Full Code Here

Examples of org.geotools.styling.Symbolizer.accept()

        Symbolizer[] symbolizers = rule.getSymbolizers();

        if (symbolizers != null) {
            for (int i = 0; i < symbolizers.length; i++) {
                Symbolizer symbolizer = symbolizers[i];
                symbolizer.accept(this);
            }
        }
    }

    /**
 
View Full Code Here

Examples of org.geotools.styling.TextSymbolizer.accept()

            TextSymbolizer ps = (TextSymbolizer) arg0;
            ps.accept(this);
        }
        if (arg0 instanceof RasterSymbolizer) {
            RasterSymbolizer ps = (RasterSymbolizer) arg0;
            ps.accept(this);
        }
    }

    public void visit( PointSymbolizer arg0 ) {
        arg0.getGraphic().accept(this);
View Full Code Here

Examples of org.geotools.styling.TextSymbolizerImpl.accept()

            textSymb.addToOptions("maxDisplacement", String.valueOf(maxDisplacement));
            textSymb.addToOptions(TextSymbolizer.GRAPHIC_MARGIN_KEY, maxDisplacement + " " + maxDisplacement * 2);

            visitor = new UomRescaleStyleVisitor(scaleMetersToPixel);

            textSymb.accept(visitor);
            TextSymbolizer rescaledTextSymb = (TextSymbolizer) visitor.getCopy();
           
            double rescaledFontSize = rescaledTextSymb.getFont().getSize().evaluate(null, Double.class);
            PointPlacement rescaledPlacement = (PointPlacement) rescaledTextSymb.getLabelPlacement();
            double rescaledDisplacementXSize = rescaledPlacement.getDisplacement().getDisplacementX().evaluate(null, Double.class);
View Full Code Here

Examples of org.glassfish.ejb.deployment.util.EjbBundleValidator.accept()

        setDescClassLoader(bundleDescriptor);
        // DOL (jerome): is asking us to call this in some cases, like when
        // an ejb-ref is unresolved etc.
        try {
            EjbBundleValidator validator = new EjbBundleValidator();
            validator.accept(bundleDescriptor);
        } catch (Exception e) {
        } // nothing can be done
       
        // initialize JDOC if bundle has CMP's
        if (bundleDescriptor.containsCMPEntity()) {
View Full Code Here

Examples of org.glassfish.hk2.external.org.objectweb.asm.ClassReader.accept()

    private List<DescriptorImpl> createDescriptorIfService(InputStream is, File searchHere) throws IOException {
        ClassReader reader = new ClassReader(is);
       
        ClassVisitorImpl cvi = new ClassVisitorImpl(utilities, verbose, searchHere);
       
        reader.accept(cvi, ClassReader.SKIP_CODE | ClassReader.SKIP_DEBUG | ClassReader.SKIP_FRAMES);
       
        return cvi.getGeneratedDescriptor();
    }
   
    /**
 
View Full Code Here

Examples of org.glassfish.hk2.external.org.objectweb.asm.signature.SignatureReader.accept()

        SignatureWriter w = new SignatureWriter();
        SignatureVisitor a = createRemappingSignatureAdapter(w);
        if (typeSignature) {
            r.acceptType(a);
        } else {
            r.accept(a);
        }
        return w.toString();
    }

    protected SignatureVisitor createRemappingSignatureAdapter(
View Full Code Here

Examples of org.glassfish.jersey.server.RequestContextBuilder.accept()

            throws ExecutionException, InterruptedException {
        RequestContextBuilder requestContextBuilder = RequestContextBuilder.from("/", method);
        if (entity != null) {
            requestContextBuilder.entity(entity).type(mediaType);
        }
        ContainerRequest requestContext = requestContextBuilder.accept(accept).build();
        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        app.apply(requestContext, baos);
        assertEquals(expected, baos.toString());
    }
View Full Code Here

Examples of org.glassfish.jersey.server.internal.scanning.AnnotationAcceptingListener.accept()

        AnnotationAcceptingListener afl =
                AnnotationAcceptingListener.newJaxrsResourceAndProviderListener(_state.getClassLoader());
        for (ResourceFinder resourceFinder : rfs) {
            while (resourceFinder.hasNext()) {
                final String next = resourceFinder.next();
                if (afl.accept(next)) {
                    final InputStream in = resourceFinder.open();
                    try {
                        afl.process(next, in);
                    } catch (IOException e) {
                        LOGGER.log(Level.WARNING, LocalizationMessages.RESOURCE_CONFIG_UNABLE_TO_PROCESS(next));
View Full Code Here

Examples of org.glassfish.loadbalancer.admin.cli.reader.api.HealthCheckerReader.accept()

      }

      HealthCheckerReader hcRdr = cRdr.getHealthChecker();

      if (hcRdr != null) {
        hcRdr.accept(new HealthCheckerVisitor(_c));
      }

      WebModuleReader[] wRdrs = cRdr.getWebModules();

      if ((wRdrs != null) && (wRdrs.length > 0)) {
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.