Package com.volantis.mcs.dom.debug

Examples of com.volantis.mcs.dom.debug.DebugDocument.debug()


            // Log the entire dom and current element every time through here.
            // This makes it *much* easier to find bugs in here.
            if (logger.isDebugEnabled()) {
                DebugDocument debug = new DebugDocument();
                if (document != null) {
                    logger.debug("ENTIRE DOM:\n" + debug.debug(document));
                }
                logger.debug("THIS ELEMENT:\n" + debug.debug(element));
            }

            // We mark this element as visited so that we know not to re-visit
View Full Code Here


            if (logger.isDebugEnabled()) {
                DebugDocument debug = new DebugDocument();
                if (document != null) {
                    logger.debug("ENTIRE DOM:\n" + debug.debug(document));
                }
                logger.debug("THIS ELEMENT:\n" + debug.debug(element));
            }

            // We mark this element as visited so that we know not to re-visit
            // it later if the DOM tree changes considerably and causes the
            // traversal to backtrack on itself.
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.