Package org.jboss.as.controller.xml
Class XMLAll.DefaultBuilder<RC,WC>
- java.lang.Object
-
- org.jboss.as.controller.xml.XMLParticle.AbstractBuilder<RC,WC,T,B>
-
- org.jboss.as.controller.xml.XMLElementGroup.AbstractBuilder<RC,WC,XMLElement<RC,WC>,XMLAll<RC,WC>,XMLAll.Builder<RC,WC>>
-
- org.jboss.as.controller.xml.XMLAll.DefaultBuilder<RC,WC>
-
- All Implemented Interfaces:
FeatureFilter,FeatureRegistry,XMLAll.Builder<RC,WC>,XMLElementGroup.Builder<RC,WC,XMLElement<RC,WC>,XMLAll<RC,WC>,XMLAll.Builder<RC,WC>>,XMLParticle.Builder<RC,WC,XMLAll<RC,WC>,XMLAll.Builder<RC,WC>>
public static class XMLAll.DefaultBuilder<RC,WC> extends XMLElementGroup.AbstractBuilder<RC,WC,XMLElement<RC,WC>,XMLAll<RC,WC>,XMLAll.Builder<RC,WC>> implements XMLAll.Builder<RC,WC>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLAll.Builder<RC,WC>addElement(XMLElement<RC,WC> element)Adds an element to this compositor.XMLAll<RC,WC>build()Builds this XML particle.protected XMLAll.Builder<RC,WC>builder()XMLAll.Builder<RC,WC>withCardinality(XMLCardinality cardinality)Override the cardinality of this XML particle-
Methods inherited from class org.jboss.as.controller.xml.XMLElementGroup.AbstractBuilder
getElements, getStability
-
Methods inherited from class org.jboss.as.controller.xml.XMLParticle.AbstractBuilder
getCardinality
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.as.controller.FeatureRegistry
enables
-
-
-
-
Method Detail
-
withCardinality
public XMLAll.Builder<RC,WC> withCardinality(XMLCardinality cardinality)
Description copied from interface:XMLParticle.BuilderOverride the cardinality of this XML particle- Specified by:
withCardinalityin interfaceXMLParticle.Builder<RC,WC,XMLAll<RC,WC>,XMLAll.Builder<RC,WC>>- Overrides:
withCardinalityin classXMLParticle.AbstractBuilder<RC,WC,XMLAll<RC,WC>,XMLAll.Builder<RC,WC>>- Parameters:
cardinality- the cardinality of this XML particle- Returns:
- a reference to this builder
-
addElement
public XMLAll.Builder<RC,WC> addElement(XMLElement<RC,WC> element)
Description copied from interface:XMLElementGroup.BuilderAdds an element to this compositor.- Specified by:
addElementin interfaceXMLElementGroup.Builder<RC,WC,XMLElement<RC,WC>,XMLAll<RC,WC>,XMLAll.Builder<RC,WC>>- Overrides:
addElementin classXMLElementGroup.AbstractBuilder<RC,WC,XMLElement<RC,WC>,XMLAll<RC,WC>,XMLAll.Builder<RC,WC>>- Parameters:
element- an element to add- Returns:
- a reference to this builder
-
build
public XMLAll<RC,WC> build()
Description copied from interface:XMLParticle.BuilderBuilds this XML particle.- Specified by:
buildin interfaceXMLParticle.Builder<RC,WC,XMLAll<RC,WC>,XMLAll.Builder<RC,WC>>- Returns:
-
builder
protected XMLAll.Builder<RC,WC> builder()
- Specified by:
builderin classXMLParticle.AbstractBuilder<RC,WC,XMLAll<RC,WC>,XMLAll.Builder<RC,WC>>
-
-