Class AttributeListBuilder<A extends IGraphDotAttributeList,​Self extends AttributeListBuilder<A,​Self>>

    • Method Detail

      • attr

        public final Self attr​(EStandardAttribute attribute,
                               Object value)
        Sets a custom attribute.
        Parameters:
        attribute - Type of the attribute.
        value - Value of the attribute.
        Returns:
        This builder instance for chaining method calls.
      • attr

        public final Self attr​(String name,
                               Object value)
        Sets a custom attribute.
        Parameters:
        name - Name of the attribute.
        value - Value of the attribute.
        Returns:
        This builder instance for chaining method calls.
      • build

        public final A build()
        Builds a POJO attribute list model with the current attributes.
        Returns:
        A new attribute list.
      • buildList

        public final List<? extends Map.Entry<? extends CharSequence,​Object>> buildList()
        Builds a new attribute list with the current settings.
        Returns:
        A new attribute map with the current settings.
      • self

        protected abstract Self self()