com.sun.source.doctree

## Interface StartElementTree

- All Superinterfaces:
    DocTree

      @Exported
      public interface StartElementTree
      extends DocTree

  A tree node for the start of an HTML element.

  < name [attributes] [/]>

  Since:
    1.8

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.sun.source.doctree.DocTree

      `DocTree.Kind`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<? extends DocTree>` | `getAttributes()` |
    `Name` | `getName()` |
    `boolean` | `isSelfClosing()` |

    - ### Methods inherited from interface com.sun.source.doctree.DocTree

      `accept, getKind`

- - ### Method Detail

    - #### getName

          Name getName()

    - #### getAttributes

          List<? extends DocTree> getAttributes()

    - #### isSelfClosing

          boolean isSelfClosing()

Copyright © 2005, 2026, Oracle and/or its affiliates. All rights reserved.