Package com.volantis.mcs.xml.validation.sax.xerces

Examples of com.volantis.mcs.xml.validation.sax.xerces.QueueingXercesBasedDOMValidator


            // the correct entity resolver.

            JarFileEntityResolver repositorySchemaResolver =
                    RepositorySchemaResolverFactory.create();

            QueueingXercesBasedDOMValidator validator =
                    new QueueingXercesBasedDOMValidator(
                            repositorySchemaResolver,
                            errorReporter);

            boolean fasterValidation = true; // Default to trueDefault();
            BuilderPlugin builderPlugin = BuilderPlugin.getDefault();
            if (builderPlugin != null) {
                // If there is a preference for fasterValidation then use it
                IPreferenceStore store =
                        BuilderPlugin.getDefault().getPreferenceStore();
                fasterValidation = store.getBoolean(
                        MCSPreferencePage.PREF_FASTER_VALIDATION);
            }
            validator.setFastValidation(fasterValidation);

            return validator;
        }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.xml.validation.sax.xerces.QueueingXercesBasedDOMValidator

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.