Package org.apache.jasper.compiler

Examples of org.apache.jasper.compiler.Node$CustomTag


    }
    public static void evaluateNodes(Node.Nodes nodes, SmapStratum s) {
        if( nodes != null && nodes.size()>0) {
            int numChildNodes = nodes.size();
            for( int i = 0; i < numChildNodes; i++ ) {
                Node n = nodes.getNode( i );
    if (!n.isDummy()) {
        Mark mark = n.getStart();

        if (verbose) {
      System.out.println("Mark(start): line=" +
             mark.getLineNumber() +
             " col="+mark.getColumnNumber() +
             "Node: begLine=" +
             n.getBeginJavaLine() +
             " endLine="+n.getEndJavaLine());
        }
        String unqualifiedName = unqualify(mark.getFile());
        s.addFile(unqualifiedName);
        s.addLineData(mark.getLineNumber(),
          unqualifiedName,
          1,
          n.getBeginJavaLine(),
          n.getEndJavaLine() - n.getBeginJavaLine());
    }
    evaluateNodes(nodes.getNode(i).getBody(), s);
            }
        }
    }
View Full Code Here


    }
    public static void evaluateNodes(Node.Nodes nodes, SmapStratum s) {
        if( nodes != null && nodes.size()>0) {
            int numChildNodes = nodes.size();
            for( int i = 0; i < numChildNodes; i++ ) {
                Node n = nodes.getNode( i );
    if (!(n instanceof Node.JspRoot)
            || !((Node.JspRoot) n).isDummy()) {
        Mark mark = n.getStart();

        if (verbose) {
      System.out.println("Mark(start): line=" +
             mark.getLineNumber() +
             " col="+mark.getColumnNumber() +
             "Node: begLine=" +
             n.getBeginJavaLine() +
             " endLine="+n.getEndJavaLine());
        }
        String unqualifiedName = unqualify(mark.getFile());
        s.addFile(unqualifiedName);
        s.addLineData(mark.getLineNumber(),
          unqualifiedName,
          1,
          n.getBeginJavaLine(),
          n.getEndJavaLine() - n.getBeginJavaLine());
    }
    evaluateNodes(nodes.getNode(i).getBody(), s);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.jasper.compiler.Node$CustomTag

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.