Package org.jboss.as.controller.xml
Interface XMLContainer.Builder<RC,WC,T extends XMLContainer<RC,WC>,B extends XMLContainer.Builder<RC,WC,T,B>>
-
- Type Parameters:
RC- the reader contextWC- 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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BwithContent(XMLAll<RC,WC> all)Applies the specified content to this containerdefault BwithContent(XMLChoice<RC,WC> choice)Applies the specified content to this containerBwithContent(XMLContent<RC,WC> content)Applies the specified content to this containerdefault BwithContent(XMLSequence<RC,WC> sequence)Applies the specified content to this container-
Methods inherited from interface org.jboss.as.controller.xml.XMLParticle.Builder
build, withCardinality
-
-
-
-
Method Detail
-
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
-
-