java.lang.Object
io.jenkins.plugins.xmleditor.core.model.LNode
io.jenkins.plugins.xmleditor.core.model.LParent
All Implemented Interfaces:
LItem
Direct Known Subclasses:
LDocument, LElement

public abstract class LParent extends LNode
A node with children: the document or an element.
  • Constructor Details

    • LParent

      public LParent()
  • Method Details

    • children

      public List<LNode> children()
    • indexOf

      public int indexOf(LNode child)
      Position of child (compared by identity), or -1.
    • insert

      public void insert(int index, LNode child)
    • append

      public void append(LNode child)
    • remove

      public void remove(LNode child)
    • writeChildren

      protected void writeChildren(StringBuilder out)