Interface XMLContainer.Builder<RC,WC,T extends XMLContainer<RC,WC>,B extends XMLContainer.Builder<RC,WC,T,B>>

Type Parameters:
RC - the reader context
WC - the writer content
All Superinterfaces:
XMLParticle.Builder<RC,WC,T,B>
All Known Subinterfaces:
NamedResourceRegistrationXMLElement.Builder, ResourceRegistrationXMLElement.Builder<T,B>, ResourceXMLContainer.Builder<T,B>, ResourceXMLElement.Builder, SingletonResourceRegistrationXMLElement.Builder, SubsystemResourceRegistrationXMLElement.Builder, XMLElement.Builder<RC,WC>
All Known Implementing Classes:
NamedResourceRegistrationXMLElement.DefaultBuilder, ResourceRegistrationXMLElement.AbstractBuilder, ResourceXMLContainer.AbstractBuilder, ResourceXMLElement.DefaultBuilder, SingletonResourceRegistrationXMLElement.DefaultBuilder, SubsystemResourceRegistrationXMLElement.DefaultBuilder, XMLContainer.AbstractBuilder, XMLElement.DefaultBuilder
Enclosing interface:
XMLContainer<RC,WC>

public static interface XMLContainer.Builder<RC,WC,T extends XMLContainer<RC,WC>,B extends XMLContainer.Builder<RC,WC,T,B>> extends XMLParticle.Builder<RC,WC,T,B>
Builder of an XML container.
  • Method Details

    • withContent

      default B withContent(XMLSequence<RC,WC> sequence)
      Applies the specified content to this container
      Parameters:
      content - XML content
      Returns:
      a reference to this builder
    • withContent

      default B withContent(XMLAll<RC,WC> all)
      Applies the specified content to this container
      Parameters:
      content - XML content
      Returns:
      a reference to this builder
    • withContent

      default B withContent(XMLChoice<RC,WC> choice)
      Applies the specified content to this container
      Parameters:
      content - XML content
      Returns:
      a reference to this builder
    • withContent

      B withContent(XMLContent<RC,WC> content)
      Applies the specified content to this container
      Parameters:
      content - XML content
      Returns:
      a reference to this builder