Package xdoclet.util

Examples of xdoclet.util.XmlValidator


            log.debug("getSchema()=" + getSchema());
            log.debug("getSchemaURL()=" + getSchemaURL());
        }

        if (shouldValidate()) {
            XmlValidator validator = XmlValidator.getInstance();

            validator.reset();

            if (getPublicId() != null) {
                validator.registerDTD(getPublicId(), getDtdURL());
            }
            if (getSchemaURL() != null) {
                validator.registerSchema(getSchemaURL());
            }
        }

        // reset ids counter
        IdTagsHandler.reset();
View Full Code Here

TOP

Related Classes of xdoclet.util.XmlValidator

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.