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
Modifier and TypeMethodDescriptionaddElement(XMLElement<RC, WC> element) Adds an element to this compositor.build()Builds this XML particle.protected XMLAll.Builder<RC,WC> builder()withCardinality(XMLCardinality cardinality) Override the cardinality of this XML particleMethods inherited from class org.jboss.as.controller.xml.XMLElementGroup.AbstractBuilder
getElements, getStabilityMethods inherited from class org.jboss.as.controller.xml.XMLParticle.AbstractBuilder
getCardinalityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.controller.FeatureRegistry
enables
-
Method Details
-
withCardinality
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
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
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
- Specified by:
builderin classXMLParticle.AbstractBuilder<RC,WC, XMLAll<RC, WC>, XMLAll.Builder<RC, WC>>
-