モジュール jdk.compiler
パッケージ com.sun.source.doctree

インタフェースStartElementTree

  • すべてのスーパー・インタフェース:
    DocTree


    public interface StartElementTree
    extends DocTree
    HTML要素の開始のツリー・ノードです。

    < name [attributes] [/]>

    導入されたバージョン:
    1.8
    • ネストされたクラスのサマリー

      • インタフェース com.sun.source.doctree.DocTreeから継承されたネストされたクラス/インタフェース

        DocTree.Kind
    • メソッドの詳細

      • getName

        Name getName​()
        要素の名前を返します。
        戻り値:
        名前
      • getAttributes

        List<? extends DocTree> getAttributes​()
        この要素によって定義されたすべての属性を返します。
        戻り値:
        属性
      • isSelfClosing

        boolean isSelfClosing​()
        閉じている">"の前に"/"と表示されているように、これが自己閉じの要素である場合はtrueを返します。
        戻り値:
        これが自己終了要素である場合はtrue