Package org.vfny.geoserver.config

Examples of org.vfny.geoserver.config.WFSConfig


        String fees = descriptionForm.getFees();
        String maintainer = descriptionForm.getMaintainer();
        String keywords = descriptionForm.getKeywords();
        String _abstract = descriptionForm.get_abstract();

        WFSConfig config = getWFSConfig();
        config.setName(name);
        config.setTitle(title);
        config.setAccessConstraints(accessConstraints);
        config.setFees(fees);
        config.setMaintainer(maintainer);
        config.setAbstract(_abstract);

        String[] array = (keywords != null)
            ? keywords.split(System.getProperty("line.separator")) : new String[0];

        config.setKeywords(array);
        getApplicationState().notifyConfigChanged();

        return mapping.findForward("config");
    }
View Full Code Here


        String onlineResource = contentForm.getOnlineResource();
        String[] selectedFeatures = contentForm.getSelectedFeatures();
        String[] features = contentForm.getFeatures();

        WFSConfig config = getWFSConfig();
        config.setSrsXmlStyle(srsXmlStyle);
        config.setEnabled(enabled);
        config.setOnlineResource(new URL(onlineResource));
        config.setServiceLevel(contentForm.getServiceLevel());
        config.setCiteConformanceHacks(citeConformanceHacks);
        config.setFeatureBounding(featureBounding);
        getApplicationState().notifyConfigChanged();

        return mapping.findForward("config");
    }
View Full Code Here

     */
    public void reset(ActionMapping arg0, HttpServletRequest arg1) {
        super.reset(arg0, arg1);

        ServletContext context = getServlet().getServletContext();
        WFSConfig config = (WFSConfig) context.getAttribute(WFSConfig.CONFIG_KEY);

        this.maintainer = config.getMaintainer();
        this.title = config.getTitle();
        this.accessConstraints = config.getAccessConstraints();
        this.name = config.getName();
        this._abstract = config.getAbstract();
        this.fees = config.getFees();

        String out = "";

        for (int i = 0; i < config.getKeywords().length; i++) {
            out = out + config.getKeywords()[i] + System.getProperty("line.separator");
        }

        this.keywords = out;

    }
View Full Code Here

        srsXmlStyleChecked = false;
        citeConformanceHacksChecked = false;
        featureBoundingChecked = false;

        ServletContext context = getServlet().getServletContext();
        WFSConfig config = (WFSConfig) context.getAttribute(WFSConfig.CONFIG_KEY);

        citeConformanceHacks = config.getCiteConformanceHacks();
        featureBounding = config.isFeatureBounding();

        serviceLevel = config.getServiceLevel();
        this.enabled = config.isEnabled();
        this.srsXmlStyle = config.isSrsXmlStyle();

        URL url = config.getOnlineResource();

        if (url != null) {
            this.onlineResource = url.toString();
        } else {
            this.onlineResource = "";
View Full Code Here

TOP

Related Classes of org.vfny.geoserver.config.WFSConfig

Copyright © 2018 www.massapicom. 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.