Package org.pdf4j.saxon.trace

Examples of org.pdf4j.saxon.trace.ContextStackIterator


     * @param context the XPath dynamic execution context (which holds the head of a linked
     * list of context objects, representing the execution stack)
     */

    public static void printStackTrace(PrintStream out, XPathContext context) {
        Iterator iterator = new ContextStackIterator(context);
        while (iterator.hasNext()) {
            ContextStackFrame frame = (ContextStackFrame)iterator.next();
            if (frame == null) {
                break;
            }
            frame.print(out);
        }
View Full Code Here


     *
     * @return an iterator over a copy of the run-time call stack
     */

    public Iterator iterateStackFrames() {
        return new ContextStackIterator(this);
    }
View Full Code Here

TOP

Related Classes of org.pdf4j.saxon.trace.ContextStackIterator

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.