模块 jdk.compiler

接口 AttributeTree

所有父级接口:
DocTree

public interface AttributeTree extends DocTree
HTML 元素或标记中属性的树节点。
自从:
1.8
  • 方法详情

    • getName

      Name  getName()
      返回属性的名称。
      返回:
      属性的名称
    • getValueKind

      AttributeTree.ValueKind  getValueKind()
      返回属性值的种类。
      返回:
      属性值的种类
    • getValue

      List <? extends DocTree > getValue()
      返回属性的值,如果 这种属性EMPTY 则返回 null
      返回:
      属性值