Package de.capacis.jzeemap.config.v10

Examples of de.capacis.jzeemap.config.v10.JzeemapConfigurationDocument.validate()


        logger.info("starting with configuration file " + file.getAbsolutePath());
        final ArrayList<Object> list = new ArrayList<Object>();
        final XmlOptions options = new XmlOptions();
        options.setErrorListener(list);
        final JzeemapConfigurationDocument doc = JzeemapConfigurationDocument.Factory.parse(file);
        boolean validate = doc.validate(options);
        if (!validate) {
          throw new XmlException("", null, list);
        } else {
          final App app = new App(doc.getJzeemapConfiguration());
          app.start();
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.