Interface Child

  • All Superinterfaces:
    Node
    All Known Implementing Classes:
    Element

    public interface Child
    extends Node
    This is an interface for anything which can be a child. Only Element implements this.
    Author:
    digulla
    See Also:
    Element, Document
    • Method Detail

      • getParent

        Parent getParent()
        The parent of this child
      • setParent

        Child setParent​(Parent parent)
        Change the parent of this child.

        CAUTION: If the child is already attached to a parent, this call will not detach the old relation! You must call child.getParent().removeNode (child), first!

      • getNodePath

        String getNodePath()
        Return a path which uniquely describes this child.
      • remove

        void remove()