Package org.vfny.geoserver.util

Examples of org.vfny.geoserver.util.SLDValidator


     *
     * @throws Exception
     * @throws ServiceException
     */
    public void validateSchemaSLD(File f, GetMapRequest getMapRequest) throws Exception {
        SLDValidator validator = new SLDValidator();
        List errors = null;

        try {
            FileInputStream in = null;

            try {
                in = new FileInputStream(f);
                errors = validator.validateSLD(in, getMapRequest.getBaseUrl());
            } finally {
                if (in != null) {
                    in.close();
                }
            }
View Full Code Here

TOP

Related Classes of org.vfny.geoserver.util.SLDValidator

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.