Interface ResourceXMLElementGroup.Builder<T extends ResourceXMLElementGroup,​B extends ResourceXMLElementGroup.Builder<T,​B>>

    • Method Detail

      • addElement

        B addElement​(AttributeDefinition attribute)
        Adds the specified attribute to this group, if it will parse and/or marshal as an xs:element.
        Parameters:
        attribute - an attribute
        Returns:
        a reference to this builder
      • addElements

        B addElements​(Iterable<? extends AttributeDefinition> attributes)
        Bulk operation that adds the specified attributes, that will parse and/or marshal as an xs:element, to this group.
        Parameters:
        attributes - zero or more resource attribute definitions
        Returns:
        a reference to this builder
      • provideElements

        default B provideElements​(Iterable<? extends Supplier<AttributeDefinition>> providers)
        Bulk operation that provides the specified attributes, that will parse and/or marshal as an xs:element, to this group.
        Parameters:
        providers - zero or more resource attribute definition providers
        Returns:
        a reference to this builder