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

    • Method Detail

      • addAttribute

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

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

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

        B ignoreAttributeLocalNames​(Set<String> localNames)
        Specifies a set of attribute local names that should be allowed, but ignored during parsing.
        Parameters:
        localNames - a set of ignored attribute local names
        Returns:
        a reference to this builder
      • ignoreAttributeNames

        B ignoreAttributeNames​(Set<QName> names)
        Specifies a set of attribute local names that should be allowed, but ignored during parsing.
        Parameters:
        localNames - a set of ignored attribute local names
        Returns:
        a reference to this builder