bundles/org.apache.jasper.glassfish/src/org/apache/jasper/compiler/Node.java
public Node.Nodes getNamedAttributeNodes() {

	if (namedAttributeNodes != null) {
	    return namedAttributeNodes;
	}

        Node.Nodes result = new Node.Nodes();
        
        // Look for the attribute in NamedAttribute children
        Nodes nodes = getBody();
        if( nodes != null ) {
            int numChildNodes = nodes.size();
            for( int i = 0; i < numChildNodes; i++ ) {
                Node n = nodes.getNode( i );
                if( n instanceof NamedAttribute ) {
                    result.add( n );
                }
                else if (! (n instanceof Comment)) {
                    // Nothing can come before jsp:attribute, and only
                    // jsp:body can come after it.
                    break;
                }
            }
        }

	namedAttributeNodes = result;
        return result;
    }
public Node.Nodes getNamedAttributeNodes() {

	if (namedAttributeNodes != null) {
	    return namedAttributeNodes;
	}

        Node.Nodes result = new Node.Nodes();
        
        // Look for the attribute in NamedAttribute children
        Nodes nodes = getBody();
        if( nodes != null ) {
            int numChildNodes = nodes.size();
            for( int i = 0; i < numChildNodes; i++ ) {
                Node n = nodes.getNode( i );
                if( n instanceof NamedAttribute ) {
                    result.add( n );
                }
                else if (! (n instanceof Comment)) {
                    // Nothing can come before jsp:attribute, and only
                    // jsp:body can come after it.
                    break;
                }
            }
        }

	namedAttributeNodes = result;
        return result;
    }
public Node . Nodes getNamedAttributeNodes ( ) { if ( namedAttributeNodes != null ) { return namedAttributeNodes ; } Node . Nodes result = new Node . Nodes ( ) ; // Look for the attribute in NamedAttribute children Nodes nodes = getBody ( ) ; if ( nodes != null ) { int numChildNodes = nodes . size ( ) ; for ( int i = 0 ; i < numChildNodes ; i ++ ) { Node n = nodes . getNode ( i ) ; if ( n instanceof NamedAttribute ) { result . add ( n ) ; } else if ( ! ( n instanceof Comment ) ) { // Nothing can come before jsp:attribute, and only // jsp:body can come after it. break ; } } } namedAttributeNodes = result ; return result ; }
Searches all subnodes of this node for jsp:attribute standard
actions, and returns that set of nodes as a Node.Nodes object.

@return Possibly empty Node.Nodes object containing any jsp:attribute
subnodes of this Node
Searches all subnodes of this node for jsp : attribute standard actions and returns that set of nodes as a Node . Nodes object .