Interface IMutableElement<S extends IMutableElement<S>>

    • Method Detail

      • addOrChangeAttribute

        void addOrChangeAttribute​(BaseNode attribute)
        Adds or changes the given attribute to the current IMutableElement. This method is not fluent.
        Parameters:
        attribute -
      • addOrChangeAttribute

        default void addOrChangeAttribute​(BaseNode... attributes)
        Adds or changes the given attributes to the current IMutableElement. This method is not fluent.
        Parameters:
        attributes -
        Throws:
        InvalidArgumentException - if one of the given attributes is not valid.
      • addOrChangeAttributes

        default void addOrChangeAttributes​(java.lang.Iterable<? extends BaseNode> attributes)
        Adds or changes the given attributes to the current IMutableElement. This method is not fluent.
        Parameters:
        attributes -
        Throws:
        InvalidArgumentException - if one of the given attributes is not valid.
      • addOrChangeAttribute

        default void addOrChangeAttribute​(java.lang.String attribute)
        Adds or changes the given attribute to the current IMutableElement. This method is not fluent.
        Parameters:
        attribute -
        Throws:
        InvalidArgumentException - if the given attribute is not valid.
      • addOrChangeAttribute

        default void addOrChangeAttribute​(java.lang.String... attributes)
        Adds or changes the given attributes to the current IMutableElement. This method is not fluent.
        Parameters:
        attributes -
        Throws:
        InvalidArgumentException - if one of the given attributes is not valid.
      • resetFrom

        default <BN extends BaseNode> void resetFrom​(java.lang.Iterable<BN> attributes)
        Resets the current IMutableElement from the given attributes.
        Type Parameters:
        BN - is the type of the given attributes.
        Parameters:
        attributes -
        Throws:
        InvalidArgumentException - if one of the given attributes is not valid.
      • resetFrom

        default void resetFrom​(java.lang.String specification)
        Resets the current IMutableElement from the given specification.
        Parameters:
        specification -
        Throws:
        InvalidArgumentException - if the given specification is not valid.