Interface Element.Key

  • All Known Subinterfaces:
    Node.Key
    Enclosing interface:
    Element

    public static interface Element.Key
    Constants used as property names in both nodes and marks.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String ATTRS
      The attrs field is a map that holds additional attributes for a mark or node.
      static String TYPE
      The type field specifies a string value that identifies the type of the node.
    • Field Detail

      • ATTRS

        static final String ATTRS
        The attrs field is a map that holds additional attributes for a mark or node. Some elements have required attributes while others do not.
        See Also:
        Constant Field Values
      • TYPE

        static final String TYPE
        The type field specifies a string value that identifies the type of the node. In the JSON schema, this corresponds to an enumerated type with only a single valid value that is specific to that node class, such as paragraph for the schema's paragraph_node type. Every ADF element must set this property.
        See Also:
        Constant Field Values