Class Node.Nodes

  • Enclosing class:
    Node

    public static class Node.Nodes
    extends java.lang.Object
    An ordered list of Node, used to represent the body of an element, or a jsp page of jsp document.
    • Field Detail

      • list

        private java.util.List<Node> list
      • generatedInBuffer

        private boolean generatedInBuffer
    • Constructor Detail

      • Nodes

        public Nodes()
    • Method Detail

      • add

        public void add​(Node n)
        Appends a node to the list
        Parameters:
        n - The node to add
      • remove

        public void remove​(Node n)
        Removes the given node from the list.
        Parameters:
        n - The node to be removed
      • size

        public int size()
      • getNode

        public Node getNode​(int index)
      • isGeneratedInBuffer

        public boolean isGeneratedInBuffer()
      • setGeneratedInBuffer

        public void setGeneratedInBuffer​(boolean g)