Examples of visit()


Examples of org.geotools.styling.visitor.DuplicatingStyleVisitor.visit()

            if (oldStyle == null) {
                oldStyle = Utilities.createDefaultPointStyle();
            }
           
            DuplicatingStyleVisitor dsv = new DuplicatingStyleVisitor();
            dsv.visit(oldStyle);
            style = (Style) dsv.getCopy();
           
            if (isPointStyle(style)) {
                propertiesEditor = new PointPropertiesEditor(layer);
                propertiesEditor.open(mainComposite, style);
View Full Code Here

Examples of org.geotools.styling.visitor.RescaleStyleVisitor.visit()

        Symbolizer rescaled = symbolizer;
        if (estimatedSize > w || estimatedSize > h) {
          // rescale necessary
          double scale = Math.min(w, h) / estimatedSize;
          RescaleStyleVisitor rescaler = new RescaleStyleVisitor(scale);
          rescaler.visit(symbolizer);
          rescaled = (Symbolizer) rescaler.getCopy();
        }
        Style2D style2d = styleFactory.createStyle(sample, rescaled, scaleRange);
        LiteShape2 shape = createShape(symbolizer, w, h);
        if (style2d != null) {
View Full Code Here

Examples of org.geotools.styling.visitor.UomRescaleStyleVisitor.visit()

            }
            // apply UOM rescaling if we have a scale
            if (request.getScale() > 0) {
                double pixelsPerMeters = RendererUtilities.calculatePixelsPerMeterRatio(request.getScale(), request.getLegendOptions());
                UomRescaleStyleVisitor rescaleVisitor = new UomRescaleStyleVisitor(pixelsPerMeters);
                rescaleVisitor.visit(gt2Style);
                gt2Style = (Style) rescaleVisitor.getCopy();
            }
           
            boolean strict = request.isStrict();
           
View Full Code Here

Examples of org.glassfish.hk2.external.org.objectweb.asm.AnnotationVisitor.visit()

        if (c.isArray()) {
            AnnotationVisitor av = visitArray(name);
            if (value instanceof byte[]) {
                byte[] b = (byte[]) value;
                for (int i = 0; i < b.length; i++) {
                    av.visit(null, new Byte(b[i]));
                }

            } else if (value instanceof char[]) {
                char[] b = (char[]) value;
                for (int i = 0; i < b.length; i++) {
View Full Code Here

Examples of org.glassfish.loadbalancer.admin.cli.transform.ClusterVisitor.visit()

    @Override
    public void accept(Visitor v) throws Exception {
    if (v instanceof ClusterVisitor) {
      ClusterVisitor cv = (ClusterVisitor) v;
      cv.visit(this);
    }
    }
    // ---- VARIABLE(S) - PRIVATE --------------------------
    private Domain _domain = null;
    private ApplicationRegistry _appRegistry = null;
View Full Code Here

Examples of org.glassfish.loadbalancer.admin.cli.transform.HealthCheckerVisitor.visit()

    // --- VISITOR IMPLEMENTATION ---
    @Override
    public void accept(Visitor v) throws Exception {
    if (v instanceof HealthCheckerVisitor) {
      HealthCheckerVisitor pv = (HealthCheckerVisitor) v;
      pv.visit(this);
    }
    }
    //--- PRIVATE VARIABLES ------
    HealthChecker _hc = null;
    private static final HealthCheckerReader defaultHCR =
View Full Code Here

Examples of org.glassfish.loadbalancer.admin.cli.transform.IdempotentUrlPatternVisitor.visit()

    @Override
    public void accept(Visitor v) throws Exception {
    if (v instanceof IdempotentUrlPatternVisitor) {
      IdempotentUrlPatternVisitor iv = (IdempotentUrlPatternVisitor) v;
      iv.visit(this);
    }
    }
    //---- PRIVATE VARS ------
    int _idx = 0;
    SunWebApp _bean = null;
View Full Code Here

Examples of org.glassfish.loadbalancer.admin.cli.transform.InstanceVisitor.visit()

    // --- VISITOR IMPLEMENTATION ---
    @Override
    public void accept(Visitor v) throws Exception {
    if (v instanceof InstanceVisitor) {
      InstanceVisitor pv = (InstanceVisitor) v;
      pv.visit(this);
    }
    }

    private String getResolvedHostName(String address) throws LbReaderException {
        InetAddress addr = null;
View Full Code Here

Examples of org.glassfish.loadbalancer.admin.cli.transform.LoadbalancerVisitor.visit()

    // --- VISITOR IMPLEMENTATION ---
    @Override
    public void accept(Visitor v) throws Exception {
    if (v instanceof LoadbalancerVisitor) {
      LoadbalancerVisitor cv = (LoadbalancerVisitor) v;
      cv.visit(this);
    }
    }

    @Override
    public LbConfig getLbConfig() {
View Full Code Here

Examples of org.glassfish.loadbalancer.admin.cli.transform.PropertyVisitor.visit()

    // --- VISITOR IMPLEMENTATION ---
    @Override
    public void accept(Visitor v) throws Exception {
    if (v instanceof PropertyVisitor) {
      PropertyVisitor pv = (PropertyVisitor) v;
      pv.visit(this);
    }
    }

    // -- PRIVATE VARS ---
    private String _value = null;
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.